layout poetry branch=$(git branch --show-current) if on_git_branch master; then export MM_ENV="PRODUCTION" export MM_DB="mysql+mysqldb://musicmuster:musicmuster@localhost/musicmuster_prod" elif on_git_branch carts; then export MM_ENV="DEVELOPMENT" export MM_DB="mysql+mysqldb://dev_musicmuster:dev_musicmuster@localhost/dev_musicmuster_carts" elif on_git_branch newcarts; then export MM_ENV="DEVELOPMENT" export MM_DB="mysql+mysqldb://dev_musicmuster:dev_musicmuster@localhost/dev_musicmuster_carts" else export MM_ENV="DEVELOPMENT" export MM_DB="mysql+mysqldb://dev_musicmuster:dev_musicmuster@localhost/dev_musicmuster" fi