Destructables/README.md

23 lines
858 B
Markdown
Raw Permalink Normal View History

# Destructables
Destructables is a privacy-respecting frontend to Instructables
# Instances
See instances.json
# Support
Join our [Matrix room](https://mto.vern.cc/#/#cobra-frontends:vern.cc) for support and other things related to Destructables
# 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: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