|
|
|
@ -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 <location>` 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.
|
|
|
|
|