add redeploy instructions to README
This commit is contained in:
parent
8f8fb18c2d
commit
b43b1aeaa3
13
README.md
13
README.md
@ -8,4 +8,15 @@ 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"
|
||||||
Loading…
Reference in New Issue
Block a user