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:
commit
f57a5c6423
11
README.md
11
README.md
@ -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"
|
||||||
Loading…
Reference in New Issue
Block a user