Merge branch 'dev' into rrt/production

This commit is contained in:
Aaron Louie 2020-05-27 12:59:04 -04:00
commit 98efa0475a
1 changed files with 6 additions and 1 deletions

View File

@ -14,10 +14,15 @@ if [ "$UPGRADE_DB" = "true" ]; then
fi
if [ "$RESET_DB" = "true" ]; then
echo 'Resetting database...'
echo 'Resetting database and seeding it with example CR Connect data...'
pipenv run flask load-example-data
fi
if [ "$RESET_DB_RRT" = "true" ]; then
echo 'Resetting database and seeding it with example RRT data...'
pipenv run flask load-example-rrt-data
fi
if [ "$APPLICATION_ROOT" = "/" ]; then
pipenv run gunicorn --bind 0.0.0.0:$PORT0 wsgi:app
else