感谢你为这个项目做贡献。
- 阅读 README.md
- 阅读 PROJECT_STRUCTURE.md
- 根据目标版本选择工作目录:
frontend/对应Web V2ui/对应Legacy V1
- Fork 或克隆仓库
- 复制
.env.example为.env - 执行依赖安装脚本
- 启动后端与相应前端
Linux / macOS:
bash scripts/bootstrap.sh
bash scripts/start-backend.sh
bash scripts/start-frontend.shWindows PowerShell:
powershell -ExecutionPolicy Bypass -File scripts/bootstrap.ps1
powershell -ExecutionPolicy Bypass -File scripts/start-backend.ps1
powershell -ExecutionPolicy Bypass -File scripts/start-frontend.ps1main- 稳定主线
develop- 日常开发集成
feature/...- 新功能开发
fix/...- 缺陷修复
release/...- 发版准备
- 保持提交信息简洁明确
- 推荐格式:
feat: ...fix: ...docs: ...refactor: ...chore: ...
- 后端相关改动至少运行:
pytest -q tests/test_progress_callback.py tests/test_minimal_regression.py- 前端相关改动至少运行:
cd frontend
npm run build- 说明改动目的
- 说明影响范围
- 提供验证方式
- 涉及 UI 时附截图
- 涉及部署时同步更新文档