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

15 lines
328 B
Python
Raw Normal View History

"""
https://github.com/checktheroads/hyperglass
Gunicorn WSGI Target
"""
2019-05-12 23:33:32 -07:00
import os
2019-05-28 14:14:42 -07:00
import hyperglass.hyperglass
2019-05-11 23:28:13 -07:00
2019-05-28 14:14:42 -07:00
application = hyperglass.hyperglass.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-28 14:14:42 -07:00
application.run(static_folder=static)