fix: textual-serve als Web-Frontend statt python -m textual serve

textual serve (python -m textual) startete immer die eingebaute Demo.
Lösung: textual-serve Paket (v1.1.3) mit eigenem serve_tui.py Einstiegspunkt.
Pro Browser-Verbindung wird tui_standalone.py als eigener Subprocess gestartet.

Starten: python serve_tui.py --host 0.0.0.0 --port 8001
This commit is contained in:
2026-03-13 14:12:25 +01:00
parent 3177146267
commit 23fb37cb1a
5 changed files with 55 additions and 13 deletions

View File

@@ -24,7 +24,7 @@ SMS_ENABLED=false
DATABASE_URL=sqlite:///./mcm.db
# ── TUI Web-Modus (textual serve) ──────────────────────────
# Starten: .venv/bin/python -m textual serve --host 0.0.0.0 --port $WEB_PORT tui_standalone.py
# Starten: python serve_tui.py --host 0.0.0.0 --port $WEB_PORT
WEB_PORT=8001
# ── Benutzer-Authentifizierung ──────────────────────────────────────────────