From b43b1aeaa344d2c9e026517ac9006df12773f7c6 Mon Sep 17 00:00:00 2001 From: David Rodenkirchen Date: Sun, 2 Jun 2024 21:08:53 +0200 Subject: [PATCH] add redeploy instructions to README --- README.md | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index a6f2651..40e6154 100644 --- a/README.md +++ b/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+ 2. Install dependencies via `pip install -r requirements.txt` -3. Run dev mode via `rio run` \ No newline at end of file +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" \ No newline at end of file