add link to docs for running your own instance
This commit is contained in:
parent
86e9064bcb
commit
3b6d0984b1
1 changed files with 1 additions and 12 deletions
13
README.md
13
README.md
|
@ -12,15 +12,4 @@ An open source alternative front-end to Instructables
|
||||||
None, yet!
|
None, yet!
|
||||||
|
|
||||||
# Run your own instance
|
# Run your own instance
|
||||||
## Dependencies
|
<a href="https://codeberg.org/indestructables/docs/wiki/Run-your-own-instance">See here</a>
|
||||||
`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
|
|
Loading…
Reference in a new issue