Files
server-core/app/__main__.py
T
Pine 26fa546f67 feat: 核心服务端基础框架(身份/平台 API)
- 七端口 RBAC、select-identity、JWT、审计
- FastAPI + SQLAlchemy + SQLite,/auth /opc /admin /agents 等路由
2026-08-23 22:35:59 +08:00

16 lines
267 B
Python

# -*- coding: utf-8 -*-
"""``python -m app`` 快捷启动。"""
from __future__ import annotations
import uvicorn
from . import config
def main() -> None:
uvicorn.run("app.main:app", host=config.HOST, port=config.PORT)
if __name__ == "__main__":
main()