📚 Improved configuration files & documentation 📚

This commit is contained in:
2025-06-01 02:18:16 +02:00
parent 47d0e291fb
commit 5aa7da2aa9
13 changed files with 316 additions and 60 deletions

View File

@@ -26,7 +26,7 @@ class Config:
SESSION_COOKIE_SAMESITE = 'Lax'
# Database configuration
DATABASE_URL = os.environ.get('DATABASE_URL') or f'sqlite:///{os.path.join(PROJECT_ROOT, "data", "myp_platform.db")}'
DATABASE_URL = os.environ.get('DATABASE_URL') or f'sqlite:///{os.path.join(PROJECT_ROOT, "database", "myp.db")}'
SQLALCHEMY_DATABASE_URI = DATABASE_URL
SQLALCHEMY_TRACK_MODIFICATIONS = False
SQLALCHEMY_ENGINE_OPTIONS = {