- 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>
7 lines
176 B
Bash
Executable File
7 lines
176 B
Bash
Executable File
#!/bin/sh
|
|
# Vor jedem Start: Datenbank migrieren und statische Dateien einsammeln.
|
|
set -e
|
|
python manage.py migrate --noinput
|
|
python manage.py collectstatic --noinput
|
|
exec "$@"
|