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__":
|
2019-05-14 16:39:32 -07:00
|
|
|
hyperglass.render.css.renderTemplate()
|
|
|
|
|
hyperglass.render.html.renderTemplate()
|
2019-05-12 23:33:32 -07:00
|
|
|
application.run(static_folder=static)
|