summaryrefslogtreecommitdiffstats
path: root/run.py
diff options
context:
space:
mode:
authorDrew DeVault <sir@cmpwn.com>2017-02-04 23:32:51 -0500
committerDrew DeVault <sir@cmpwn.com>2017-02-04 23:32:51 -0500
commit021f21756339085e9cd73858c62766cbf3ac45fd (patch)
treec1f17a3aa9c629dd872c10b1c168fc819845d5d5 /run.py
Initial commit
Diffstat (limited to 'run.py')
-rw-r--r--run.py11
1 files changed, 11 insertions, 0 deletions
diff --git a/run.py b/run.py
new file mode 100644
index 0000000..d68c53e
--- /dev/null
+++ b/run.py
@@ -0,0 +1,11 @@
+from git.app import app
+from git.config import cfg, cfgi
+
+import os
+
+app.static_folder = os.path.join(os.getcwd(), "static")
+
+if __name__ == '__main__':
+ app.run(host=cfg("debug", "debug-host"),
+ port=cfgi("debug", "debug-port"),
+ debug=True)