Flask setup
This commit is contained in:
12
app.py
12
app.py
@@ -1,15 +1,11 @@
|
||||
#!/usr/bin/env python
|
||||
|
||||
import tornado.ioloop
|
||||
|
||||
from atst.app import make_app, make_deps, make_config
|
||||
from atst.app import make_app, make_config
|
||||
|
||||
config = make_config()
|
||||
deps = make_deps(config)
|
||||
app = make_app(config, deps)
|
||||
app = make_app(config)
|
||||
|
||||
if __name__ == "__main__":
|
||||
port = int(config["default"]["PORT"])
|
||||
app.listen(port)
|
||||
port = int(config["PORT"])
|
||||
app.run(port=port)
|
||||
print("Listening on http://localhost:%i" % port)
|
||||
tornado.ioloop.IOLoop.current().start()
|
||||
|
Reference in New Issue
Block a user