Add some documentation about deploying

This commit is contained in:
redfast00 2023-01-09 09:56:08 +01:00
parent cf26eddf5d
commit 6e33f453bf
No known key found for this signature in database
GPG Key ID: 5946E0E34FD0553C
3 changed files with 9 additions and 0 deletions

3
README.md Normal file
View File

@ -0,0 +1,3 @@
# Kelderapi
This runs on korner and gets door open/close events passed to it by mattermore. Controls the lights and LEDs, plays a startup and shutdown sound.

View File

@ -0,0 +1 @@
doorkeeper_token='...'

5
run_prod.py Normal file
View File

@ -0,0 +1,5 @@
#!/usr/bin/env python3
from app import app
app.run(host='0.0.0.0', port=5000)