1
0
mirror of https://github.com/checktheroads/hyperglass synced 2024-05-11 05:55:08 +00:00

15 lines
370 B
Python
Raw Normal View History

2019-05-13 12:48:25 -07:00
#!/usr/bin/env python3
2019-05-12 23:33:32 -07:00
import os
import hyperglass
2019-05-11 23:28:13 -07:00
from hyperglass.hyperglass import app
application = app
2019-05-11 23:22:27 -07:00
2019-05-12 23:33:32 -07:00
hyperglass_root = os.path.dirname(hyperglass.__file__)
static = os.path.join(hyperglass_root, "static")
2019-05-11 23:22:27 -07:00
if __name__ == "__main__":
hyperglass.render.css.renderTemplate()
hyperglass.render.html.renderTemplate()
2019-05-12 23:33:32 -07:00
application.run(static_folder=static)