- Django 5.2 LTS mit Apps inventar, topologie, export, scanner - Konfiguration über .env (Vorlage .env.example), SQLite in data/ - Login und geschützte Startseite mit Bootstrap 5 (lokal) - Dockerfile, docker-compose.yml, Entrypoint (migrate, collectstatic) - README/AUFBAUPLAN: offene Punkte 1, 2, 4, 7 geklärt Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
19 lines
597 B
Bash
19 lines
597 B
Bash
# Vorlage für die .env – kopieren nach .env und Werte anpassen.
|
||
# Die .env selbst wird NIE eingecheckt.
|
||
|
||
# Neuen Schlüssel erzeugen:
|
||
# python3 -c "import secrets; print(secrets.token_urlsafe(50))"
|
||
DJANGO_SECRET_KEY=hier-eigenen-schluessel-eintragen
|
||
|
||
# Nur lokal zur Entwicklung auf true setzen
|
||
DJANGO_DEBUG=false
|
||
|
||
# Kommagetrennt: Hostnamen/IPs, unter denen der Planer erreichbar ist
|
||
DJANGO_ALLOWED_HOSTS=localhost,127.0.0.1
|
||
|
||
# Kommagetrennt, mit Schema und Port, z. B. http://192.168.178.8:8000
|
||
DJANGO_CSRF_TRUSTED_ORIGINS=http://localhost:8000
|
||
|
||
# Port auf dem Docker-Host
|
||
PLANER_PORT=8000
|