From ada49e873945a1bee6b870108f7df5280709d9aa Mon Sep 17 00:00:00 2001 From: "Skylar \"The Cobra\" Widulski" Date: Fri, 13 Jan 2023 15:33:07 -0500 Subject: [PATCH] Add info about Python plugin for uWSGI Signed-off-by: Skylar "The Cobra" Widulski --- README.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/README.md b/README.md index 8d82c07..026eaa9 100644 --- a/README.md +++ b/README.md @@ -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`