chore: initial open-source baseline v1.0.0
CI / check (push) Failing after 15m48s

Signed-off-by: 南通一次元科技有限公司 <guwangtu@icimeta.com>
This commit is contained in:
guwangtu committed 2026-12-05 15:44:53 +00:00
commit b91954df4a
106 files changed
+43359

No files matched your search

+34
View File
@@ -0,0 +1,34 @@
@echo off
chcp 936 >nul
title 风险管理项目服务
cd /d "%~dp0"
echo ========================================
echo 风险管理项目 - 服务启动中...
echo ========================================
echo.
netstat -ano | findstr ":8001 " | findstr "LISTENING" >nul 2>&1
if %errorlevel% equ 0 (
echo [提示] 端口 8001 已被占用,服务可能已在运行。
start http://localhost:8001/
pause
exit /b 0
)
set "PY=%~dp0.venv\Scripts\python.exe"
if not exist "%PY%" (
echo [错误] 未找到虚拟环境: %PY%
echo 请先在本目录执行:
echo uv venv .venv --python 3.12
echo uv pip install --python .venv\Scripts\python.exe fastapi "uvicorn[standard]" python-multipart python-docx PyMuPDF openai openpyxl PyPDF2
pause
exit /b 1
)
echo [启动] 正在启动 FastAPI 服务...
echo [信息] 访问地址: http://localhost:8001
echo [信息] 按 Ctrl+C 可停止服务
echo.
"%PY%" main.py
pause