atst/app.py
2018-06-11 16:42:13 -04:00

16 lines
334 B
Python
Executable File

#!/usr/bin/env python
import os
import tornado.ioloop
from atst.app import make_app, make_config
config = make_config()
app = make_app(config)
if __name__ == '__main__':
port = int(config['default']['PORT'])
app.listen(port)
print("Listening on http://localhost:%i" % port)
tornado.ioloop.IOLoop.current().start()