diff options
author | Drew DeVault <sir@cmpwn.com> | 2017-02-04 23:32:51 -0500 |
---|---|---|
committer | Drew DeVault <sir@cmpwn.com> | 2017-02-04 23:32:51 -0500 |
commit | 021f21756339085e9cd73858c62766cbf3ac45fd (patch) | |
tree | c1f17a3aa9c629dd872c10b1c168fc819845d5d5 /run.py |
Initial commit
Diffstat (limited to 'run.py')
-rw-r--r-- | run.py | 11 |
1 files changed, 11 insertions, 0 deletions
@@ -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) |