Go to file
Thomas Klaehn 92951c3aad Initial commit
Signed-off-by: Thomas Klaehn <tkl@blackfinn.de>
2021-02-04 16:33:56 +01:00
weblight Initial commit 2021-02-04 16:33:56 +01:00
.gitignore Initial commit 2021-02-04 16:33:56 +01:00
MANIFEST.in Initial commit 2021-02-04 16:33:56 +01:00
README.md Initial commit 2021-02-04 16:33:56 +01:00
setup.py Initial commit 2021-02-04 16:33:56 +01:00

Weblight

Tool to switch on/off the yard light with web page.

Installation

python setup.py install

Usage

Manual

Create wrapper script (e.g. wrapper.py):

from weblight import app

if __name__ == "__main__":
    app.run()

Execute the wrapper script:

python3 wrapper.py

gunicorn

gunicorn --bind 0.0.0.0:80 weblight:app