first init

This commit is contained in:
xingc
2025-02-18 14:26:47 +08:00
commit 48a02974fc
41 changed files with 2297 additions and 0 deletions

19
main.py Normal file
View File

@@ -0,0 +1,19 @@
# -*- coding = utf-8 -*-
# @Time : 2025/2/12 下午4:55
# @File : main.py
# @Software : PyCharm
# @Author : xingc
# @Desc :
import logging
from config import LOGGING_CONFIG
from core.app import create_app
# logging.config.dictConfig(LOGGING_CONFIG)
app = create_app()
if __name__ == '__main__':
import uvicorn
uvicorn.run(app, host='0.0.0.0', port=8001)