summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--config.py6
-rwxr-xr-xrun.sh7
2 files changed, 13 insertions, 0 deletions
diff --git a/config.py b/config.py
new file mode 100644
index 0000000..878c79d
--- /dev/null
+++ b/config.py
@@ -0,0 +1,6 @@
+SECRET_KEY = "Scooby_Lu,_where_are_you?"
+
+db_name = "fapg.db"
+SQLALCHEMY_DATABASE_URI = "sqlite:///" + db_name
+SQLALCHEMY_TRACK_MODIFICATIONS = True
+
diff --git a/run.sh b/run.sh
new file mode 100755
index 0000000..0674c4d
--- /dev/null
+++ b/run.sh
@@ -0,0 +1,7 @@
+#! /bin/bash
+
+source .venv/bin/activate
+export FLASK_APP=app/routes
+export FLASK_ENV=development
+# export FLASK_DEBUG=1
+flask run
Copyright 2019--2024 Marius PETER