atst/app.py
2020-03-04 11:51:15 -05:00

12 lines
283 B
Python
Executable File

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