aboutsummaryrefslogtreecommitdiffstats
path: root/server.py
diff options
context:
space:
mode:
authorkj_sh6042026-04-03 00:46:18 -0400
committerkj_sh6042026-04-03 00:46:18 -0400
commitb5b1a685bf9c2dd172545091c049717360a23648 (patch)
tree34db8bbad826d49ca85172b19326317741923d7d /server.py
initial: shim static site server
Diffstat (limited to 'server.py')
-rw-r--r--server.py10
1 files changed, 10 insertions, 0 deletions
diff --git a/server.py b/server.py
new file mode 100644
index 0000000..e735a36
--- /dev/null
+++ b/server.py
@@ -0,0 +1,10 @@
+#!/usr/bin/env python3
+
+from shim_app import create_app
+
+
+app = create_app()
+
+
+if __name__ == "__main__":
+ app.run(host=app.config["SHIM_BIND"], port=app.config["SHIM_PORT"]) \ No newline at end of file