Always treat running from mm dir as production
This commit is contained in:
parent
0978e93ee7
commit
188623e574
6
.envrc
6
.envrc
@ -5,7 +5,11 @@ export MAIL_SERVER="smtp.fastmail.com"
|
||||
export MAIL_USERNAME="kae@midnighthax.com"
|
||||
export MAIL_USE_TLS=True
|
||||
branch=$(git branch --show-current)
|
||||
if on_git_branch master; then
|
||||
# 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
|
||||
|
||||
Loading…
Reference in New Issue
Block a user