Initial prototype for theme song booth

This commit is contained in:
Troll (Hermes Agent) 2026-07-31 19:47:52 +00:00
commit c16d48ee32
16 changed files with 898 additions and 0 deletions

12
init_db.py Normal file
View file

@ -0,0 +1,12 @@
import os
import sys
# Ensure project root is importable
sys.path.insert(0, os.path.dirname(os.path.abspath(__file__)))
from app import app
from models import init_db
with app.app_context():
init_db()
print(f"Database initialized at {app.config['DATABASE']}")