From 4fa9b1586b38d9b05823435e3e2c0f33195f2e5b Mon Sep 17 00:00:00 2001 From: snowcatridge10 Date: Sat, 3 Jun 2023 09:50:44 -0400 Subject: [PATCH] commit --- README.md | 13 ++++++++++++- requirements.txt | 3 ++- 2 files changed, 14 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 9310170..78bbfe8 100644 --- a/README.md +++ b/README.md @@ -12,4 +12,15 @@ An open source alternative front-end to Instructables None, yet! # Run your own instance -See here \ No newline at end of file +## Dependencies +`pip3 install -r requirements.txt`. + +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:8002 --wsgi-file main.py --callable app --processes 4 --threads 2` +3. Point your reverse proxy to http://localhost:8002 +## Development +1. Clone the repository +2. Run `python3 main.py` +3. Connect to http://localhost:8002 \ No newline at end of file diff --git a/requirements.txt b/requirements.txt index ef80726..56aa84d 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,4 +1,5 @@ bs4 requests flask -selenium \ No newline at end of file +selenium +requests_html \ No newline at end of file