Switch from hypercorn to uvicorn

This commit is contained in:
W13R 2022-03-16 18:27:05 +01:00
parent c49798a9ea
commit 7cb5e096b5
4 changed files with 11 additions and 13 deletions

View file

@ -11,7 +11,7 @@ You run a command with
---
`server` - Start the server
This starts a caddy instance, hypercorn with the django application and a scheduler that automatically removes expired session data.
This starts a caddy instance, uvicorn with the django application and a scheduler that automatically removes expired session data.
Log files will be written.
---

View file

@ -18,14 +18,9 @@ Before the actual setup, you have to satisfy the following dependencies:
### Python Packages (pip)
- `django~=3.2.7`
- `django-currentuser==0.5.3`
- `django-csp==3.7`
- `psycopg2~=2.9.1`
- `hypercorn~=0.11.2`
- `cryptography~=36.0.0` (for self-signed tls certificates)
All required python packages are listed `in pip-dependencies.txt`
You can install those pip-packages with the following command:
You can install the required python packages with the following command:
```bash
pip install -U -r pip-dependencies.txt
```