Refactor code structure and optimize performance across multiple modules
This commit is contained in:
@@ -0,0 +1,10 @@
|
||||
"""云超服 OPC 培训站 · FastAPI 后端入口
|
||||
|
||||
用法(在 server/ 目录下):
|
||||
uv run python main.py # 启动,端口 8091
|
||||
uv run uvicorn app.main:app --port 8091 --reload # 或直接 uvicorn
|
||||
"""
|
||||
import uvicorn
|
||||
|
||||
if __name__ == "__main__":
|
||||
uvicorn.run("app.main:app", host="0.0.0.0", port=8091, reload=True)
|
||||
Reference in New Issue
Block a user