refactor: 清理不需要的代码文件,添加.gitignore,优化项目结构

This commit is contained in:
赵杰 Jie Zhao (雄狮汽车科技)
2025-09-16 17:05:50 +01:00
parent 9451945e08
commit 9ca36042e3
65 changed files with 3370 additions and 10809 deletions

41
快速启动.bat Normal file
View File

@@ -0,0 +1,41 @@
@echo off
chcp 65001
echo ========================================
echo 智能TSP助手 - 快速启动脚本
echo ========================================
echo.
echo [1/4] 检查Python环境...
python --version
if %errorlevel% neq 0 (
echo 错误: 未找到Python环境请先安装Python 3.8+
pause
exit /b 1
)
echo [2/4] 检查必要目录...
if not exist "logs" mkdir logs
if not exist "data" mkdir data
echo 目录检查完成
echo [3/4] 初始化数据库...
python fix_database_schema.py
if %errorlevel% neq 0 (
echo 警告: 数据库初始化可能有问题,请检查配置
)
echo [4/4] 启动智能TSP助手...
echo.
echo 正在启动服务,请稍候...
echo 启动成功后请访问: http://localhost:5000
echo 按 Ctrl+C 停止服务
echo.
echo 尝试启动完整版...
python start_dashboard.py
if %errorlevel% neq 0 (
echo 完整版启动失败,尝试简化版...
python simple_start.py
)
pause