User Tools

Site Tools


deployment_raspberry

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
deployment_raspberry [2025/11/05 17:31] ninindeployment_raspberry [2025/11/27 22:39] (current) ninin
Line 95: Line 95:
  
   systemctl daemon-reload   systemctl daemon-reload
-  sudo systemctl start gunicorn.service+  sudo systemctl restart gunicorn 
 +   
 +followed by a hard browser refresh (Ctrl + Shift + R). 
 + 
 + 
 +=== Rollout Release === 
 + 
 +# In deinem Produktionsverzeichnis 
 +  cd /pfad/zu/serious-seeds 
 + 
 +# Aktiviere Virtual Environment 
 +  source env/bin/activate 
 + 
 +# 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/Update Dependencies 
 +  pip install -r app/requirements.txt 
 + 
 +# Führe Migrations aus (falls nötig) 
 +  python app/manage.py migrate 
 + 
 +# Sammle Static Files 
 +  python app/manage.py collectstatic --noinput 
 + 
 +# Starte Gunicorn neu 
 +  sudo systemctl restart gunicorn 
  
 === Tutorial === === Tutorial ===
deployment_raspberry.1762363882.txt.gz · Last modified: by ninin