Printing out some more stuff for debugging
This commit is contained in:
parent
dffba7dc92
commit
35fa241a4c
|
@ -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"""
|
||||
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue