baseimage-tutorial-framework/supervisor/tfw_server.py
2019-06-04 14:41:51 +02:00

10 lines
197 B
Python

from tornado.ioloop import IOLoop
from tfw.server import TFWServer
from tfw.config import TFWENV
if __name__ == '__main__':
TFWServer().listen(TFWENV.WEB_PORT)
IOLoop.instance().start()