· 6 years ago · Aug 12, 2019, 12:32 AM
1# when you call conda deactivate this script will be executed
2# removes the environment variables automatically on environment deactivation
3
4# this goes in /anaconda3/envs/ENVIRONMENT-NAME/etc/conda/deactivate.d
5# CHANGE FILE NAME TO 'env_vars.sh' (gist requires unique file names...)
6
7unset DEBUG SECRET_KEY DB_HOST DB_PORT DB_NAME DB_USER DB_PASSWORD STATIC_URL