Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Replace *.yml.template + config scripts with *.yml + ERB + dotenv #184

Open
tom93 opened this issue Mar 2, 2023 · 0 comments
Open

Replace *.yml.template + config scripts with *.yml + ERB + dotenv #184

tom93 opened this issue Mar 2, 2023 · 0 comments

Comments

@tom93
Copy link
Contributor

tom93 commented Mar 2, 2023

To make configuration easier (especially in Docker), I think we should:
1. Allow ERB in all the config/*.yml files (started in #180)
2. Add a dependency on dotenv-rails
3a. Create a skeleton .env file with all the supported environment variables
3b. Replace the *.yml.template files with *.yml files that use ERB to look up the appropriate environment variables, with fallback to sensible defaults
3c. Remove (most of) script/install/config.bash and script/install/nztrain.bash

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant