summaryrefslogtreecommitdiffstats
path: root/run.py
blob: 203fc065b4e1d38ae030f41a23cc275909261860 (plain)
1
2
3
4
5
6
7
8
9
10
11
from gitsrht.app import app
from srht.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)