Tired of pointing your facia.stage
at CODE
? Have you ever longed to change the content.api.host
you use for development? Need to change some switches in DEV
? Look no further!
-
Create a file at
~/.gu/frontend.conf
-
Add your configuration with the following syntax:
devOverrides { key1.name=value1 key2.name=value2 }
E.g.
devOverrides { switches.key=DEV/config/switches-yournamehere.properties facia.stage=CODE }
-
Restart the app you're working on
- You can see all configuration keys by looking at the GuardianConfiguration class
- Downloading the default configuration from s3 is not recommended as it contains secrets that you shouldn't keep locally