From 2895d295e4802f152b40c93ea740bf4bd2aba505 Mon Sep 17 00:00:00 2001 From: Paul Mathieu Date: Mon, 3 Jul 2023 20:01:59 +0200 Subject: [PATCH] Update README --- README.md | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/README.md b/README.md index 10d3d1e..37f871f 100644 --- a/README.md +++ b/README.md @@ -34,6 +34,24 @@ Run docker run -d --rm -p 127.0.0.1:8000:8000 -v /var/lib/zetikettes/templates:/data zetikettes ``` +Notes for deploying +------------------- + +.h3 Initialize empty database +``` +python manage.py migrate +``` + +.h3 Prepare static files +``` +python manage.py collectstatic +``` +The files will be in `www_static/` and need to be moved to `/var/lib/zetikettes/www_static` + +.h3 Change host settings +If not deploying on `aerith.ponteilla.net`, you'll need to edit `backend/zetikettes/zetikettes/settings.py` to change a couple things in there. + + Change available templates --------------------------