Add a few notes from the deployment

newer-dal
LEdoian 3 years ago
parent 1d02f871dd
commit 0accb3a9f1

@ -19,6 +19,12 @@ Currently there is no documentation :-/
Installing 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 1. Pull the repository to preferred location (`git clone
https://gitea.ledoian.cz/LEdoian/Wish.git <location>` should be sufficient). https://gitea.ledoian.cz/LEdoian/Wish.git <location>` should be sufficient).
2. Optionally create a virtualenv (the deployment script and example 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 5. Verify the configuration using `./manage.py check --deploy`. If there are
relevant errors, tweak the configuration more. relevant errors, tweak the configuration more.
6. If everything seems OK, start the systemd service and try reaching the site. 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 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. server implementation), web reverse proxy of your liking and your service manager.

Loading…
Cancel
Save