layout poetry export MAIL_PASSWORD="ewacyay5seu2qske" export MAIL_PORT=587 export MAIL_SERVER="smtp.fastmail.com" export MAIL_USERNAME="kae@midnighthax.com" export MAIL_USE_TLS=True branch=$(git branch --show-current) # Always treat running from /home/kae/mm as production if [ $(pwd) == /home/kae/mm ]; then export MM_ENV="PRODUCTION" export MM_DB="mysql+mysqldb://musicmuster:musicmuster@localhost/musicmuster_prod" elif on_git_branch master; then export MM_ENV="PRODUCTION" export MM_DB="mysql+mysqldb://musicmuster:musicmuster@localhost/musicmuster_prod" else export MM_ENV="DEVELOPMENT" export MM_DB="mysql+mysqldb://dev_musicmuster:dev_musicmuster@localhost/dev_musicmuster" fi