diff options
author | Marius Peter <marius.peter@tutanota.com> | 2022-05-01 21:40:20 +0200 |
---|---|---|
committer | Marius Peter <marius.peter@tutanota.com> | 2022-05-01 21:40:20 +0200 |
commit | 4d12e4ea5a8c14d13a93382029d82f3cba05d912 (patch) | |
tree | 59beefb3c05ff0fa27e5a692a7f35457009bccb9 | |
parent | 1727413d592302a1198b6cad8ee0d1cf9b5d50f5 (diff) |
Config file + run shell script.
-rw-r--r-- | config.py | 6 | ||||
-rwxr-xr-x | run.sh | 7 |
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 + @@ -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 |