User Tools

Site Tools


infra:services:hula

Differences

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

Link to this comparison view

infra:services:hula [2025/01/14 21:03] – created kfhinfra:services:hula [2025/01/14 21:09] (current) kfh
Line 6: Line 6:
 ### Updating the software ### Updating the software
  
-``` bash +    # Go to the checkout as `hackerhula` via `root` 
-# Go to the checkout as `hackerhula` via `root` +    sudo su - 
-sudo su - +    su - hackerietweb -s /bin/bash 
-su - hackerietweb -s /bin/bash +    cd /srv/webapp-hackerhula/new/hackerhula/ 
-cd /srv/webapp-hackerhula/new/hackerhula/ +    git pull 
-git pull+     
 +    # If you've made migrations, run this 
 +    poetry run ./manage.py migrate 
 +     
 +    # If you've changed static files, run this 
 +    poetry run ./manage.py collectstatic 
 +     
 +    # Back to root we go 
 +    ^D 
 +     
 +    # Restart the appserver 
 +    systemctl restart gunicorn-hula.service 
 +    # and bob's your uncle
  
-# If you've made migrations, run this 
-poetry run ./manage.py migrate 
  
-# If you've changed static files, run this 
-poetry run ./manage.py collectstatic 
- 
-# Back to root we go 
-^D 
- 
-# Restart the appserver 
-systemctl restart gunicorn-hula.service 
-# and bob's your uncle 
-``` 
/srv/hackeriet-wiki/dokuwiki/data/attic/infra/services/hula.1736888608.txt.gz · Last modified: 2025/01/14 21:03 by kfh