aboutsummaryrefslogtreecommitdiffstats
path: root/klaus/app.py
diff options
context:
space:
mode:
Diffstat (limited to 'klaus/app.py')
-rwxr-xr-xklaus/app.py12
1 files changed, 12 insertions, 0 deletions
diff --git a/klaus/app.py b/klaus/app.py
new file mode 100755
index 0000000..3ddd08b
--- /dev/null
+++ b/klaus/app.py
@@ -0,0 +1,12 @@
+import configparser
+import waitress
+import klaus
+import os
+
+repositories = ["/srv/git/git-scripts.git", "/srv/git/anExampleRepo%21.git"]
+
+
+if __name__ == "__main__":
+ app = klaus.make_app(repositories, "Eden's git server - Repositories")
+ waitress.serve(app, host = "0.0.0.0", port = 80, threads = int(os.environ["APP_THREADS"]))
+