Scary stuff. Very scary stuff.
- Python 93.9%
- HTML 5.1%
- Shell 0.6%
- CSS 0.4%
| esp8266 | ||
| nginx | ||
| pumpkin | ||
| .gitignore | ||
| config.py | ||
| error_report | ||
| pumpkin_db_schema.sql | ||
| README.md | ||
| reqs.txt | ||
| restart_pumpkin.sh | ||
| run_dev_server.sh | ||
| scary_hosts.yaml | ||
| setup.sh | ||
| wsgi.py | ||
About
Contains stuff for the legendary Halloween Control Centre.
The HCC controls 4 output ports switching relais and input ports e.g. for motion detection
Requirements
- Required packages are listed in reqs.txt
- Additionally required python3 packages are
pylibftdiandpy-neopixel-spidev
To install everything: $ chmod +x setup.sh; sudo ./setup.sh
Configuration
To change assignments of inputs/ouputs edit config.py
Hosts are configured in scary_hosts.yaml
Start
$ chmod +x run_dev_server.sh
$ ./run_dev_server.sh
The web application is now in development/debug mode, listening on port 5000.
Deployment with nginx / uwsgi
Check out the README for details on how to set up nginx/uwsgi