Skip to content
Grav 2.0 is officially stable. Read the announcement →
Archive

Environment configuration

Started by Muut Archive 10 years ago · 1 replies · 415 views
10 years ago

Hello all!

I am a beginner with regards to Grav so forgive me if this is a silly question.

I am interesting in taking advantage of the environment configuration feature whereby you can have alternate configs for local server & production.

I have configured my local host to serve my sites to various local domains such as example.dev. When I do this though it does not honour the alternate localhost config file.

Is there a way to tell grav that example.dev is a local environment and example.com (my actual live domain) is production? Or is there some other solution to my problem?

Thanks in advance
Steve

Suggested topics

Topic Participants Replies Views Activity
Archive · by Deleted User, 9 years ago
0 1359 9 years ago
Archive · by Muut Archive, 9 years ago
2 936 9 years ago
Archive · by Muut Archive, 9 years ago
2 4066 9 years ago
Archive · by Muut Archive, 9 years ago
1 2955 9 years ago
Archive · by Muut Archive, 9 years ago
3 1121 9 years ago