| Title | Updating Without Docker |
|---|---|
| Date | 2023-01-29 |
| Order | 4 |
Follow this guide if you have a BookWyrm installation without Docker and there are changes available in the production branch.
This guide assumes that your setup followed the latest Installation without Docker guide.
Run all the following commands, except otherwise noted, as the bookwyrm user:
- Pull in the latest changes on the
productionbranch withgit pull - Install potential new Python dependencies:
./venv/bin/pip3 install --upgrade "pip>=25.1.0"./venv/bin/pip3 install --group main
- Compile the themes with
venv/bin/python3 manage.py compile_themes - Collecting all the static files with
venv/bin/python3 manage.py collectstatic --no-input– this also uploads them to external storage if you have this configured - Migrate the database (it's advisable to create a backup before) with
venv/bin/python3 manage.py migrate - Restart the
systemdservices withsudo systemctl restart bookwyrm bookwyrm-worker bookwyrm-scheduler