From 0accb3a9f1411f78ebd6b9edde93e7d830313a39 Mon Sep 17 00:00:00 2001 From: Pavel 'LEdoian' Turinsky Date: Sun, 2 Jan 2022 02:17:34 +0100 Subject: [PATCH] Add a few notes from the deployment --- README.md | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/README.md b/README.md index a0bd23d..f714bd7 100644 --- a/README.md +++ b/README.md @@ -19,6 +19,12 @@ Currently there is no documentation :-/ Installing --- +### Prerequisities + +Psycopg2 needs PostgreSQL client library to be installed. On Debian, the package is `libpq-dev`. + +### Installation + 1. Pull the repository to preferred location (`git clone https://gitea.ledoian.cz/LEdoian/Wish.git ` should be sufficient). 2. Optionally create a virtualenv (the deployment script and example @@ -36,6 +42,8 @@ Installing 5. Verify the configuration using `./manage.py check --deploy`. If there are relevant errors, tweak the configuration more. 6. If everything seems OK, start the systemd service and try reaching the site. +7. You will need a superuser to be able to add other users and use the admin + site: `./manage.py createsuperuser` You will likely need to reference documentation of Django, uWSGI (or other WSGI server implementation), web reverse proxy of your liking and your service manager.