Files
assist/start_traditional.bat

33 lines
767 B
Batchfile
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
@echo off
echo 启动TSP智能助手传统版本...
echo.
echo 检查Python环境...
python --version >nul 2>&1
if %errorlevel% neq 0 (
echo 错误: 未找到Python请先安装Python
echo 下载地址: https://www.python.org/downloads/
pause
exit /b 1
)
echo Python环境正常
echo.
echo 启动Web服务器...
echo 访问地址: http://localhost:5000
echo.
echo 功能包括:
echo - 仪表板: http://localhost:5000
echo - 聊天页面: http://localhost:5000/chat
echo - 预警管理: http://localhost:5000/alerts
echo - 知识库: http://localhost:5000/knowledge
echo - 字段映射: http://localhost:5000/field-mapping
echo - 系统设置: http://localhost:5000/system
echo.
echo 按 Ctrl+C 停止服务器
echo.
python src/web/app.py
pause