commit
This commit is contained in:
parent
3b6d0984b1
commit
4fa9b1586b
2 changed files with 14 additions and 2 deletions
13
README.md
13
README.md
|
@ -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
|
|
@ -1,4 +1,5 @@
|
||||||
bs4
|
bs4
|
||||||
requests
|
requests
|
||||||
flask
|
flask
|
||||||
selenium
|
selenium
|
||||||
|
requests_html
|
Loading…
Reference in a new issue