john-hu / untitled

0 stars 0 forks source link

use environment variables to set the configs #61

Closed john-hu closed 2 years ago

john-hu commented 2 years ago

Currently, we use settings.py directly. If we want to deploy a new feature with default settings, we need to modify the settings.py file and run the auto deployment scripts. The best way is to use environment variables and keep the settings.py to read the env and pre-fill the default values.

john-hu commented 2 years ago

It's online.