3 ms·
Mitigating human errors is certainly important. The brittle nature of your onboarding story is exactly why I wrote this post and encourage the practice in it.
by whalesalad 7y ago
Mitigating human errors is certainly important. The brittle nature of your onboarding story is exactly why I wrote this post and encourage the practice in it.
Larger apps that I deploy have a development.py.example file that people can copy to development.py (or fredsmith.py, madonna.py, it doesn't matter. These would not be checked-in to Git)
Then all I need to do before running anything in my project is prefix with ENV=fredsmith.
As a team we could settle on a different name for this variable. We could all have our own environments. We could even decide, as a team, to check them into Git so that we can all see each others config in case there is an issue.
- 1337shadow 7y agoCopying a file is a manual step, that's the kind of step that I strive to remove from workflows I provide to others. Using different names for the same thing across different teams also looks like something I'd typically strive against.