baseimage-tutorial-framework/supervisor/tfw_server.py

10 lines
201 B
Python
Raw Normal View History

2018-06-29 20:53:44 +00:00
from tornado.ioloop import IOLoop
from tfw.networking import TFWServer
from tfw.config import TFWENV
if __name__ == '__main__':
TFWServer().listen(TFWENV.WEB_PORT)
IOLoop.instance().start()