diff --git a/crc/__init__.py b/crc/__init__.py index 25f1326e..d724a7d8 100644 --- a/crc/__init__.py +++ b/crc/__init__.py @@ -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""" diff --git a/docker_run.sh b/docker_run.sh index 149693f9..0792bfa2 100755 --- a/docker_run.sh +++ b/docker_run.sh @@ -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