code4romania / covid-19-ro-help

Platform for NGOs to create donation requests and to broadcast their services in an emergency
Mozilla Public License 2.0
18 stars 41 forks source link

Allow debug and sentry to be configured from env #370

Closed vtemian closed 4 years ago

vtemian commented 4 years ago

Right now, we use the dev.py settings to run the staging environment and the local one. In order to offer a little more flexibility, I moved the DEBUG and SENTRY_DSN configs to env and kept DEBUG, by default, on True (in order to maintain a seamless development experience).

We'll just need to add 2 env vars on our staging env: