refactor: 整理项目配置与代码,更新文档
1. 将turbo.json中的pipeline重命名为tasks 2. 修复Vue模板中小于号转义问题,清理冗余代码与样式 3. 更新README文档,补充后端启动步骤,移除旧贡献指南 4. 更新前端包的rollup依赖版本与包名
This commit is contained in:
15
README.md
15
README.md
@@ -72,14 +72,19 @@ cd ../..
|
||||
|
||||
### 开发模式
|
||||
|
||||
在项目根目录执行:
|
||||
|
||||
```bash
|
||||
# 同时启动前后端
|
||||
# 同时启动前后端(需先激活后端虚拟环境)
|
||||
pnpm dev
|
||||
|
||||
# 只启动前端
|
||||
pnpm dev:web
|
||||
|
||||
# 只启动后端
|
||||
# 只启动后端(需先激活虚拟环境)
|
||||
cd apps/server
|
||||
source venv/bin/activate # macOS/Linux
|
||||
# 或 venv\Scripts\activate # Windows
|
||||
pnpm dev:server
|
||||
```
|
||||
|
||||
@@ -122,13 +127,7 @@ pnpm clean # 清理构建产物
|
||||
|
||||
模型文件存放在 `models/` 目录下,需要在 `apps/server/services/model_service.py` 中配置模型路径。
|
||||
|
||||
## 贡献指南
|
||||
|
||||
1. Fork 本仓库
|
||||
2. 创建特性分支 (`git checkout -b feature/AmazingFeature`)
|
||||
3. 提交更改 (`git commit -m 'Add some AmazingFeature'`)
|
||||
4. 推送分支 (`git push origin feature/AmazingFeature`)
|
||||
5. 创建 Pull Request
|
||||
|
||||
## 许可证
|
||||
|
||||
|
||||
Reference in New Issue
Block a user