Add info about Python plugin for uWSGI
Signed-off-by: Skylar "The Cobra" Widulski <cobra@vern.cc>
This commit is contained in:
parent
0a206c2ea1
commit
ada49e8739
|
@ -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`
|
||||
|
|
Loading…
Reference in New Issue