majorly overhauled the design to now use docker-compose and postgres

This commit is contained in:
2026-02-20 02:02:23 +01:00
parent 9769f509a7
commit 7308ad541d
18 changed files with 633 additions and 256 deletions

15
app/config.py Normal file
View File

@@ -0,0 +1,15 @@
import os
class Config:
SECRET_KEY = os.environ.get("SECRET_KEY")
SLIDES_DIR = os.environ.get("SLIDES_DIR")
EXPORTS_DIR = os.environ.get("EXPORTS_DIR")
SQLALCHEMY_DATABASE_URI = os.environ.get("DATABASE_URL")
SQLALCHEMY_TRACK_MODIFICATIONS = False
ADMIN_PASSWORD = os.environ.get("ADMIN_PASSWORD")
COURSE_MAP = {
"GRNVS25": "GRNVS Tutorium SS 25",
"IT-Sec25": "IT-Sec Tutorium WS 25/26",
}
DEFAULT_COURSE = 2