api-automation-test/ApiAutomationTest/webserver.py

14 lines
252 B
Python

# coding=utf-8
from app import create_app
from app.extensions import socketio
app = create_app()
if __name__ == '__main__':
socketio.run(app=app, host='0.0.0.0', port=5000, debug=False)
# app.run(host='0.0.0.0', port=5000)
# app.run()