Closed Bug 1371365 Opened 8 years ago Closed 8 years ago

Simplify .env-dist

Categories

(Socorro :: Symbols, task)

task
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: peterbe, Assigned: peterbe)

Details

As of https://github.com/mozilla-services/tecken/commit/648532207994705398f92949ca6d1ef1c8318341 when you start tecken for the first time, it'll copy the .env-dist to become your own personal .env. There are a lot of settings in there that you probably never want to mess with. The only things that make sense to mess with are sensitive things like credentials that can never be in the source code. Tecken's django settings story should be sane enough (plus Docker) that almost no developer should ever want to mess with non-credentials unless xhe really really knows what xhe's doing. This bug is about changing .env-dist to be slimmed down plus explaining how it works and how you need to compare the defaults in settings.py and insert them into *your* .env with a DJANGO_ prefix.
Note-to-self; This .env (and .env-dist) is really a tool for fellow coders. Mozilla CloudOps doesn't have their own .env made from the .env-dist. They use puppet. So the .env-dist should really be aimed at other developers. Still, the purpose of the file altogether is for secrets and "extreme exceptions" (e.g. debugging or experimenting).
Assignee: nobody → peterbe
Status: NEW → RESOLVED
Closed: 8 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.