12 lines
248 B
Python
Executable File
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)
|