From 6e33f453bfbd005b3bcbeb229a4ea59ec96c33d9 Mon Sep 17 00:00:00 2001 From: redfast00 Date: Mon, 9 Jan 2023 09:56:08 +0100 Subject: [PATCH] Add some documentation about deploying --- README.md | 3 +++ config.py.example | 1 + run_prod.py | 5 +++++ 3 files changed, 9 insertions(+) create mode 100644 README.md create mode 100644 run_prod.py diff --git a/README.md b/README.md new file mode 100644 index 0000000..b08b46c --- /dev/null +++ b/README.md @@ -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. diff --git a/config.py.example b/config.py.example index e69de29..e47c0ad 100644 --- a/config.py.example +++ b/config.py.example @@ -0,0 +1 @@ +doorkeeper_token='...' diff --git a/run_prod.py b/run_prod.py new file mode 100644 index 0000000..f880b1f --- /dev/null +++ b/run_prod.py @@ -0,0 +1,5 @@ +#!/usr/bin/env python3 + +from app import app +app.run(host='0.0.0.0', port=5000) +