This commit is contained in:
snowcatridge10 2023-06-03 09:50:44 -04:00
parent 3b6d0984b1
commit 4fa9b1586b
2 changed files with 14 additions and 2 deletions

View file

@ -12,4 +12,15 @@ An open source alternative front-end to Instructables
None, yet! None, yet!
# Run your own instance # Run your own instance
<a href="https://codeberg.org/indestructables/docs/wiki/Run-your-own-instance">See here</a> ## 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

View file

@ -2,3 +2,4 @@ bs4
requests requests
flask flask
selenium selenium
requests_html