baseimage-tutorial-framework/supervisor/tfw_server.py

10 lines
197 B
Python
Raw Normal View History

2018-06-29 20:53:44 +00:00
from tornado.ioloop import IOLoop
2019-05-27 12:09:13 +00:00
from tfw.server import TFWServer
2018-06-29 20:53:44 +00:00
from tfw.config import TFWENV
if __name__ == '__main__':
TFWServer().listen(TFWENV.WEB_PORT)
IOLoop.instance().start()