mirror of
https://github.com/mwisnowski/mtg_python_deckbuilder.git
synced 2025-12-16 15:40:12 +01:00
Finalize MDFC follow-ups, docs, and diagnostics tooling
document deck summary DFC badges, exporter annotations, and per-face metadata across README/DOCKER/release notes record completion of all MDFC roadmap follow-ups and add the authoring guide for multi-face CSV entries wire in optional DFC_PER_FACE_SNAPSHOT env support, exporter regression tests, and diagnostics updates noted in the changelog
This commit is contained in:
parent
6fefda714e
commit
88cf832bf2
46 changed files with 3292 additions and 86 deletions
|
|
@ -40,15 +40,15 @@ seed_defaults() {
|
|||
|
||||
seed_defaults
|
||||
|
||||
# Always operate from the code directory for imports to work
|
||||
cd /app/code || exit 1
|
||||
# Ensure we're at repo root so the `code` package resolves correctly
|
||||
cd /app || exit 1
|
||||
|
||||
# Select mode: default to Web UI
|
||||
MODE="${APP_MODE:-web}"
|
||||
|
||||
if [ "$MODE" = "cli" ]; then
|
||||
# Run the CLI (interactive menu; use DECK_MODE=headless for non-interactive)
|
||||
exec python main.py
|
||||
# Run the CLI (interactive menu; use DECK_MODE=headless for non-interactive)
|
||||
exec python -m code.main
|
||||
fi
|
||||
|
||||
# Web UI (FastAPI via uvicorn)
|
||||
|
|
@ -56,4 +56,4 @@ HOST="${HOST:-0.0.0.0}"
|
|||
PORT="${PORT:-8080}"
|
||||
WORKERS="${WORKERS:-1}"
|
||||
|
||||
exec uvicorn web.app:app --host "$HOST" --port "$PORT" --workers "$WORKERS"
|
||||
exec uvicorn code.web.app:app --host "$HOST" --port "$PORT" --workers "$WORKERS"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue