Add notes to .envrc

This commit is contained in:
Keith Edmunds 2024-12-14 11:56:37 +00:00
parent cc01d04fb8
commit 3c8f5910df

2
.envrc
View File

@ -13,6 +13,8 @@ branch=$(git branch --show-current)
if [ $(pwd) == /home/kae/mm ]; then
export MM_ENV="PRODUCTION"
export DATABASE_URL="mysql+mysqldb://musicmuster:musicmuster@localhost/musicmuster_prod"
# on_git_branch is a direnv directive
# See https://github.com/direnv/direnv/blob/master/man/direnv-stdlib.1.md
elif on_git_branch master; then
export MM_ENV="PRODUCTION"
export DATABASE_URL="mysql+mysqldb://musicmuster:musicmuster@localhost/musicmuster_prod"