Commit f5addf17 authored by Hugo Kerstens's avatar Hugo Kerstens

Specify Flask app location in package.json scripts

parent 67c048c1
......@@ -14,8 +14,8 @@
"test:py": "python3 -m pytest -v -W error::RuntimeWarning",
"start": "ZESJE_SETTINGS=$(pwd)/ python3 zesje",
"analyze": "webpack --config --profile --json > stats.json; webpack-bundle-analyzer stats.json zesje/static",
"migrate:dev": "ZESJE_SETTINGS=$(pwd)/ flask db upgrade",
"migrate": "flask db upgrade"
"migrate:dev": "ZESJE_SETTINGS=$(pwd)/ FLASK_APP=zesje/ flask db upgrade",
"migrate": "FLASK_APP=zesje/ flask db upgrade"
"standard": {
"parser": "babel-eslint",
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment