summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRené 'Necoro' Neumann <necoro@necoro.eu>2020-07-24 09:24:50 +0200
committerRené 'Necoro' Neumann <necoro@necoro.eu>2020-07-24 09:24:50 +0200
commita684705dbc89ca5b277ad380b7d8f268ae6c6803 (patch)
tree37e9e5b6ce5882fd333bdc2923d30860112cd9b0
parent81493afa53a1a1d5ff4b417d05febf9f9e2a172b (diff)
downloadkosten-a684705dbc89ca5b277ad380b7d8f268ae6c6803.tar.gz
kosten-a684705dbc89ca5b277ad380b7d8f268ae6c6803.tar.bz2
kosten-a684705dbc89ca5b277ad380b7d8f268ae6c6803.zip
Improved debugging
-rwxr-xr-xrun.sh1
-rw-r--r--settings.py2
2 files changed, 2 insertions, 1 deletions
diff --git a/run.sh b/run.sh
index 612ab58..b2931cc 100755
--- a/run.sh
+++ b/run.sh
@@ -4,4 +4,5 @@
FLASK_APP=kosten \
FLASK_ENV=development \
PYTHONDONTWRITEBYTECODE=1 \
+WERKZEUG_DEBUG_PIN=off \
flask "$@"
diff --git a/settings.py b/settings.py
index 76deacb..5bba9fc 100644
--- a/settings.py
+++ b/settings.py
@@ -4,6 +4,6 @@ import os
SECRET_KEY = os.urandom(42)
# database
-SQLALCHEMY_DATABASE_URI = "sqlite:///test.sqlite"
+SQLALCHEMY_DATABASE_URI = "sqlite:///../test.sqlite"
SQLALCHEMY_ECHO = True
SQLALCHEMY_TRACK_MODIFICATIONS = False