Files
ai_soc_sw/hwd32h757/ENVIRONMENT.md
T
tupingr 6c09a9b6d4 init.
2026-05-26 16:43:31 +08:00

74 lines
1.4 KiB
Markdown
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.
# SoC_SW 开发环境配置
## 前置依赖
| 工具 | 版本要求 | 说明 |
|------|---------|------|
| Node.js | >= 20.x | JavaScript 运行时 |
| pnpm | >= 9.0.0 | 包管理器 |
| Python | >= 3.10 | 脚本/数据处理 |
| Git | >= 2.40 | 版本控制 |
## 快速开始
```bash
# 1. 克隆项目
git clone <repository-url>
cd soc_sw
# 2. 安装前端依赖
pnpm install
# 3. 恢复上下文(换电脑后)
# 在 Claude Code 中使用 resume-context Skill
# 4. 启动开发服务器(根据子项目)
cd projects/P01_soc_sw_app
pnpm dev
```
## 子项目环境
### P01_soc_sw_app(主应用)
```bash
cd projects/P01_soc_sw_app
pnpm install
pnpm dev
```
### P02_soc_sw_training(数据处理)
```bash
cd projects/P02_soc_sw_training
python -m venv venv
source venv/bin/activate
pip install -r requirements.txt
```
### P03_soc_sw_webWeb 管理后台)
```bash
cd projects/P03_soc_sw_web
pnpm install
pnpm dev
```
## 开发工具
- **AI 协作**: 1 人 + 3 AIArch AI + Coder AI + Tester AI
- **上下文同步**: 使用 `resume-context` Skill
## 跨平台开发
本项目支持在 Windows、macOS、Linux 上开发。换电脑时:
1. `git pull` 拉取最新代码
2. 使用 `resume-context` Skill 恢复上下文
3. 继续开发
## 环境变量
各子项目的环境变量文件:
- `projects/P01_soc_sw_app/.env`
- `projects/P03_soc_sw_web/.env`
参考各子项目的 `ENVIRONMENT.md` 获取详细配置。