Adding login system

This commit is contained in:
Michał Gdula 2023-05-16 17:50:26 +03:00
parent 36be8993df
commit 27bf6f64ef
6 changed files with 51 additions and 11 deletions

View file

@ -1,3 +1,12 @@
import os
# Purely to make the code a bit more readable
def env(key):
return os.getenv(key)
SECRET_KEY = env("FLASK_KEY")
SQLALCHEMY_DATABASE_URI = 'sqlite:///site.db'
MIGRATION_DIR = "/data/storage/migrations"