- 修复 socketio 导入问题
- 添加 docker-compose.prod.yaml(简化版,使用 SQLite + Redis)
作者: 小白 🐶
10 lines
207 B
Python
10 lines
207 B
Python
"""
|
|
PIT Router 启动入口
|
|
"""
|
|
from app import create_app, socketio_app as socketio
|
|
|
|
app = create_app('development')
|
|
|
|
if __name__ == '__main__':
|
|
socketio.run(app, host='0.0.0.0', port=9000, debug=True)
|