deployment_raspberry
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revision | |||
| deployment_raspberry [2025/11/06 23:00] – ninin | deployment_raspberry [2025/11/27 22:39] (current) – ninin | ||
|---|---|---|---|
| Line 98: | Line 98: | ||
| | | ||
| followed by a hard browser refresh (Ctrl + Shift + R). | followed by a hard browser refresh (Ctrl + Shift + R). | ||
| + | |||
| + | |||
| + | === Rollout Release === | ||
| + | |||
| + | # In deinem Produktionsverzeichnis | ||
| + | cd / | ||
| + | |||
| + | # Aktiviere Virtual Environment | ||
| + | source env/ | ||
| + | |||
| + | # Hole neueste Tags | ||
| + | git fetch --tags | ||
| + | |||
| + | # Liste verfügbare Tags auf | ||
| + | git tag -l | ||
| + | |||
| + | # Checke das gewünschte Tag aus (mit lokalem Branch, um keinen detached-head zu bekommen) | ||
| + | git checkout -b production-v1.0.0 tags/v1.0.0 | ||
| + | |||
| + | # Installiere/ | ||
| + | pip install -r app/ | ||
| + | |||
| + | # Führe Migrations aus (falls nötig) | ||
| + | python app/ | ||
| + | |||
| + | # Sammle Static Files | ||
| + | python app/ | ||
| + | |||
| + | # Starte Gunicorn neu | ||
| + | sudo systemctl restart gunicorn | ||
| + | |||
| === Tutorial === | === Tutorial === | ||
deployment_raspberry.txt · Last modified: by ninin
