You can use both.
If you put exports in your .bashrc you will have it for all your terminal
session. When you run a bash script to load uwsgi from supervisor as
example, you need to load this .bashrc with source.
It's same as use a command line like:
SOMEAPP_DB_USER="someapp" SOMEAPP_DB_PASSWORD=
I have a common.py, dev.py, and prod.py for my Django settings files. All
files inherit from common.py. I want to keep my database passwords,
database URL, etc stored as environment variables. I have researched the
topic but I am not sure If I have a clear understanding of it. I am hoping
I can