Merge branch 'feature/add-redeploy-instructions-to-README' into 'main'

add redeploy instructions to README

See merge request ezgg/ezgg-website!11
This commit is contained in:
David Rodenkirchen 2024-06-02 19:09:16 +00:00
commit f57a5c6423

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+
2. Install dependencies via `pip install -r requirements.txt`
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"