-
Notifications
You must be signed in to change notification settings - Fork 171
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
Fix configuration #14
Comments
I actually rather like exporting environment variables - it enforces that your secrets are never checked into your repo, Just Works on every platform, and makes it clear what info you're providing to the app. I agree that there are a lot of vars to set for will, and that's annoying, but once they're set in your prod server, boxen, postactivate, etc, you're done. What's the argument for their wack-itude? |
Ok, so, what I'm looking for is a thing I can run, to run your application. |
So what I do locally is put the exports in my workon my_will
./run_will.py Such a setup is pretty standard from what I see colleagues do in entirely different codebases, and mirrors the best-practices of a number of PAAS stacks. In this space, the biggest bot of them all, github's hubot follows the same standard. Given all that, I'm a bit resistant to add another layer of config. However, if there's a strong case for it, I'm definitely listening! As for supporting both, I yield to the Zen of Python:
|
Ok cool, then let's document and recommend that then? |
Sounds good - have a couple min this AM, so will get this and reqs pushed. |
Pushed, let me know if you think more documentation would be helpful! |
Exporting environment variables is wack.
We need a configuration file that peeps can customise.
Any objections to https://pypi.python.org/pypi/config/0.3.7 and
json
configs?The text was updated successfully, but these errors were encountered: