atst/app.py
2018-08-02 13:18:44 -04:00

12 lines
248 B
Python
Executable File

#!/usr/bin/env python
from atst.app import make_app, make_config
config = make_config()
app = make_app(config)
if __name__ == "__main__":
port = int(config["PORT"])
app.run(port=port)
print("Listening on http://localhost:%i" % port)