aboutsummaryrefslogtreecommitdiffstats
path: root/klaus/app.py
diff options
context:
space:
mode:
authorjwansek <eddie.atten.ea29@gmail.com>2022-09-19 17:19:13 +0100
committerjwansek <eddie.atten.ea29@gmail.com>2022-09-19 17:19:13 +0100
commitcfa6e98a33e89291b19376e9e1ab25510afdfb7d (patch)
tree90e689d01687dd4e4a8d2d666279b566818d2a0f /klaus/app.py
parent080dca2a578f5c00d5b91e65c43a29cb0f6232e8 (diff)
downloadgit-scripts-cfa6e98a33e89291b19376e9e1ab25510afdfb7d.tar.gz
git-scripts-cfa6e98a33e89291b19376e9e1ab25510afdfb7d.zip
Added metadata file
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"]))
+