Printing out some more stuff for debugging

This commit is contained in:
Aaron Louie 2020-04-15 14:43:09 -04:00
parent dffba7dc92
commit 35fa241a4c
2 changed files with 7 additions and 0 deletions

View File

@ -22,6 +22,8 @@ else:
app.config.root_path = app.instance_path
app.config.from_pyfile('config.py', silent=True)
print(app.config)
db = SQLAlchemy(app)
""":type: sqlalchemy.orm.SQLAlchemy"""

View File

@ -2,6 +2,11 @@
# run migrations
export FLASK_APP=./crc/__init__.py
for entry in ./instance/* ; do
echo "$entry"
done
pipenv run flask db upgrade
if [ "$RESET_DB" = "true" ]; then