Update README.md
All checks were successful
Test web app / Check syntax (push) Successful in 10s
Test web app / Test server with Flask Dev Mode (push) Successful in 14s
Test web app / Test server with Gunicorn (WSGI) (push) Successful in 14s
Test web app / Test server with Hypercorn (ASGI) (push) Successful in 20s
Create Docker image / deploy (release) Successful in 45s

This commit is contained in:
Nova Cat 2025-03-28 17:45:43 -07:00
parent eb50981ff7
commit 94eb825b62

View file

@ -24,4 +24,35 @@ services:
- 2009:2009/tcp
volumes:
- ./certs:/root/certs
```
## On your host
### Install packages
#### Pip
```
pip install pyopenssl hypercorn flask
```
#### Debian/Ubuntu
```bash
sudo apt install python3-hypercorn python3-flask python3-openssl
```
#### Alpine
```bash
apk add py3-openssl py3-flask py3-pip
# Alpine Linux doesn't have a hypercorn package
pip install --break-system-packages hypercorn
```
### Run server
```bash
hypercorn --bind 0.0.0.0:2009 server:app
```