M0: Projektgerüst für Hercules Pyloaded
CI / checks (push) Successful in 1m43s

- Django 6.0 mit Einstellungen aus Umgebungsvariablen (SQLite lokal, PostgreSQL im Betrieb)
- Pakete engine (reine Spielregeln) und game (Startseite, Health-Check, Worker-Platzhalter)
- uv mit Lockfile, ruff, mypy (strict für engine), pytest mit Smoke-Tests
- pre-commit-Hooks und vorbereiteter Gitea-Actions-Workflow
- Dockerfile und docker-compose (web, worker, db)
- README, CLAUDE.md, MIT-Lizenz

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
Hofei90
2026-09-25 11:50:40 +02:00
commit ec4b6c0b2f
36 changed files with 1410 additions and 0 deletions
+18
View File
@@ -0,0 +1,18 @@
# Vorlage für Umgebungsvariablen. Kopieren nach .env und anpassen.
# Ohne diese Variablen läuft die lokale Entwicklung mit SQLite und DEBUG=true.
DJANGO_DEBUG=false
DJANGO_SECRET_KEY=bitte-einen-langen-zufaelligen-wert-setzen
DJANGO_ALLOWED_HOSTS=pyloaded.example.org
DJANGO_CSRF_TRUSTED_ORIGINS=https://pyloaded.example.org
DJANGO_SECURE_SSL_REDIRECT=true
DJANGO_SECURE_HSTS_SECONDS=0
POSTGRES_DB=hercules
POSTGRES_USER=hercules
POSTGRES_PASSWORD=bitte-aendern
POSTGRES_HOST=db
POSTGRES_PORT=5432
HERCULES_REGISTRATION_MODE=closed
HERCULES_GAME_SPEED=2