Table of Contents

Hacker-hula

Maintenance

Updating the software

# Go to the checkout as `hackerhula` via `root`
sudo su -
su - hackerietweb -s /bin/bash
cd /srv/webapp-hackerhula/new/hackerhula/
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