Closed
Bug 1371365
Opened 8 years ago
Closed 8 years ago
Simplify .env-dist
Categories
(Socorro :: Symbols, task)
Socorro
Symbols
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.
| Assignee | ||
Comment 1•8 years ago
|
||
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 | ||
Updated•8 years ago
|
Assignee: nobody → peterbe
| Assignee | ||
Comment 2•8 years ago
|
||
Comment 3•8 years ago
|
||
Commit pushed to master at https://github.com/mozilla-services/tecken
https://github.com/mozilla-services/tecken/commit/05a4c9a7bbaaa740b9a58e152c09bdb28da0c6ae
fixes bug 1371365 - Simplify .env-dist (#154)
Updated•8 years ago
|
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.
Description
•