File size: 311 Bytes
f8efe2e
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
import eventlet
eventlet.monkey_patch()

from config import Config
from __init__ import create_app

app, socketio = create_app()

if __name__ == '__main__':
    print(f"Starting server at http://{Config.HOST}:{Config.PORT}")
    socketio.run(app, host=Config.HOST, port=Config.PORT)
    print("Server stopped.")