ipfspics-server
ipfspics-server copied to clipboard
Store config in the environment
@VictorBjelkholm has suggested to store database credentials in the environment in #17. It could be implemented this way.
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