-
Notifications
You must be signed in to change notification settings - Fork 188
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
Environment Switcher #6
Comments
I love the |
The last full time development job I had, we had a config system that used .INI files. One for Dev, one for QA and one for Prod. Also each developer had their own INI that would merge with the Dev. It used apache env variables. I'll have to look for example code on my old hard drives. |
Check out https://github.com/vlucas/phpdotenv Lots of projects do it with an ignored .env and commited .env.example where new env keys are added. I mentioned this on #20 too. Then the .env stuff could be referenced in the config files. Multiple developers could have their own thing with the folder idea I mentioned above. The |
I found some very old code (was making a boilerplate "framework" for that job). I'm not saying this is the way to do it, i'm just showing one way of doing configs. |
@ellisgl Hey! looks cool. A lot of effort went into that. Thanks for sharing. |
@philsown so... decided to remake that mess of old code... https://github.com/ellisgl/GeekLab-INICONF |
Can we close this? |
Yes. |
Explain how to: config file that is in .gitignore
The text was updated successfully, but these errors were encountered: