add redeploy instructions to README

This commit is contained in:
David Rodenkirchen 2024-06-02 21:08:53 +02:00
parent 8f8fb18c2d
commit b43b1aeaa3

View File

@ -9,3 +9,14 @@ This repository contains the code for the EZ GG e.V. website.
1. Create a Python VENV with Python version 3.11+ 1. Create a Python VENV with Python version 3.11+
2. Install dependencies via `pip install -r requirements.txt` 2. Install dependencies via `pip install -r requirements.txt`
3. Run dev mode via `rio run` 3. Run dev mode via `rio run`
### How to re-deploy
1. Merge changes
2. SSH to EZGG server
3. cd into /srv/ezgg-website
4. Pull changes
5. Rebuild image `sudo docker build -t ezggweb .`
6. Log into portainer UI
7. Open website container
8. Press "recreate container"