diff options
author | jwansek <eddie.atten.ea29@gmail.com> | 2022-09-19 17:19:13 +0100 |
---|---|---|
committer | jwansek <eddie.atten.ea29@gmail.com> | 2022-09-19 17:19:13 +0100 |
commit | cfa6e98a33e89291b19376e9e1ab25510afdfb7d (patch) | |
tree | 90e689d01687dd4e4a8d2d666279b566818d2a0f /klaus/app.py | |
parent | 080dca2a578f5c00d5b91e65c43a29cb0f6232e8 (diff) | |
download | git-scripts-cfa6e98a33e89291b19376e9e1ab25510afdfb7d.tar.gz git-scripts-cfa6e98a33e89291b19376e9e1ab25510afdfb7d.zip |
Added metadata file
Diffstat (limited to 'klaus/app.py')
-rwxr-xr-x | klaus/app.py | 12 |
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"])) + |