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

Store config in the environment #21

Open
cloutier opened this issue Oct 29, 2015 · 1 comment
Open

Store config in the environment #21

cloutier opened this issue Oct 29, 2015 · 1 comment

Comments

@cloutier
Copy link
Member

@victorbjelkholm has suggested to store database credentials in the environment in #17. It could be implemented this way.

@victorb
Copy link

victorb commented Oct 29, 2015

Use something like phpenv ( https://github.com/phpenv/phpenv ) so you'll have a .env file in the root of the repository that will contain environment variables loaded by the app when you run it. You'll distribute a .env.dist that will contain placeholders and in your production system, you'll just use normal environment variables but in dev use the .env

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

2 participants