Allow using a dotenv file to configure the WSGI application
Categories
(Webtools Graveyard :: Pontoon, enhancement)
Tracking
(Not tracked)
People
(Reporter: flo, Assigned: flo)
Details
Attachments
(1 file)
User Agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:70.0) Gecko/20100101 Firefox/70.0
Steps to reproduce:
I would like to put Pontoon configuration in a (dotenv) text file on production servers. The location of this file could be provided through an environment variable (DOTENV_PATH or similar).
Actual results:
Currently this is not implemented so nothing happened.
Expected results:
If you agree with this change, I can make a PR on Github that allows to store Pontoon config in a text file. It will only add few lines in "pontoon/wsgi.py" and no additional dependencies as Pontoon already depends on django-dotenv.
Comment 1•6 years ago
|
||
Hey Fabien, I'd be curious to see an implementation for this indeed. Please go for it! :)
Comment 2•6 years ago
|
||
Comment 3•6 years ago
|
||
adngdb merged PR #1515: "Fix bug 1601564: Allows reading dotenv config in WSGI application" in 8688eb4.
Updated•5 years ago
|
Updated•4 years ago
|
Description
•