Skip to content

Instantly share code, notes, and snippets.

@vandorjw
Created August 27, 2013 15:13
Show Gist options
  • Save vandorjw/6354909 to your computer and use it in GitHub Desktop.
Save vandorjw/6354909 to your computer and use it in GitHub Desktop.
3 sections of config files.
#
# -- DJANGO ENVIRONMENT VARIABLES --
#
. /home/user-name/denvvars
#
# .bashrc
#
export WORKON_HOME=/var/virtualenvs
source /usr/local/bin/virtualenvwrapper.sh
. /home/user-name/denvvars
#
# envars
#
export project_SECRET_KEY=string
export project_DB_NAME=string
export project_DB_USER=string
export project_DB_PASS=string
export project_DB_HOST=string
export project_EMAIL_HOST=string
export project_EMAIL_USER=string
export project_EMAIL_PASS=string
export project_EMAIL_PORT=string
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment