Add info about Python plugin for uWSGI

Signed-off-by: Skylar "The Cobra" Widulski <cobra@vern.cc>
This commit is contained in:
Skylar "The Cobra" Widulski 2023-01-13 15:33:07 -05:00
parent 0a206c2ea1
commit ada49e8739
Signed by: cobra
GPG Key ID: 4FD8F812083FF6F9
1 changed files with 2 additions and 0 deletions

View File

@ -7,6 +7,8 @@ See instances.json
# Run your own instance
## Dependencies
This program depends on `bs4`, `requests`, and `flask`. Install them by running `pip3 install bs4 requests flask`.
For the production environment, you also need the uWSGI Python3 plugin. On Debian, it can be installed via `apt install uwsgi-plugin-python3`
## Production
1. Clone the repository
2. Run `uwsgi --plugin python3 --http-socket 0.0.0.0:8001 --wsgi-file main.py --callable app --processes 4 --threads 2`