You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy-pasting from one configuration file to another for each environment (especially local dev files) is painful and error-prone. Many good templating engines exist that we could use as part of our build/commit process to reduce duplication of things like database names, URLs, etc.
The text was updated successfully, but these errors were encountered:
Use an easy templating engine like mustache. It's flexible without having way too many features or being tied to a particular programming language or environment.
Rather than attempting to automatically generate the rendered YAML files at build-time, we can have a semi-manual process (i.e. running a script like ./generate_configs or similar). This would then generate the necessary "compiled" config files in their appropriate directories.
Commit the compiled config files to Git, but prefer never to modify these compiled files, only the templates. This is similar to our current process for generating Java source code from Protobuf.
Copy-pasting from one configuration file to another for each environment (especially local dev files) is painful and error-prone. Many good templating engines exist that we could use as part of our build/commit process to reduce duplication of things like database names, URLs, etc.
The text was updated successfully, but these errors were encountered: