修复克隆路径问题,更新部署文档
- 更新所有文档中的克隆命令 - 添加两种克隆方式:克隆到当前目录或指定文件夹 - 避免默认创建agent子文件夹导致的路径问题 - 添加部署注意事项说明 - 确保项目结构与克隆后一致
This commit is contained in:
@@ -6,9 +6,13 @@
|
||||
|
||||
#### Mac/Linux 用户
|
||||
```bash
|
||||
# 克隆项目
|
||||
git clone http://123.60.55.248:3000/Duguay/agent.git
|
||||
cd agent
|
||||
# 方法1:克隆到当前目录
|
||||
mkdir ai-workflow && cd ai-workflow
|
||||
git clone http://123.60.55.248:3000/Duguay/agent.git .
|
||||
|
||||
# 方法2:克隆到指定文件夹
|
||||
git clone http://123.60.55.248:3000/Duguay/agent.git ai-workflow
|
||||
cd ai-workflow
|
||||
|
||||
# 运行快速启动脚本
|
||||
./quick-start.sh
|
||||
@@ -16,9 +20,13 @@ cd agent
|
||||
|
||||
#### Windows 用户
|
||||
```bash
|
||||
# 克隆项目
|
||||
git clone http://123.60.55.248:3000/Duguay/agent.git
|
||||
cd agent
|
||||
# 方法1:克隆到当前目录
|
||||
mkdir ai-workflow && cd ai-workflow
|
||||
git clone http://123.60.55.248:3000/Duguay/agent.git .
|
||||
|
||||
# 方法2:克隆到指定文件夹
|
||||
git clone http://123.60.55.248:3000/Duguay/agent.git ai-workflow
|
||||
cd ai-workflow
|
||||
|
||||
# 运行快速启动脚本
|
||||
quick-start.bat
|
||||
@@ -47,11 +55,13 @@ git --version # 确保 Git 已安装
|
||||
### 2. 获取代码
|
||||
|
||||
```bash
|
||||
# 使用 Git 克隆
|
||||
git clone http://123.60.55.248:3000/Duguay/agent.git
|
||||
# 方法1:克隆到当前目录
|
||||
mkdir my-project && cd my-project
|
||||
git clone http://123.60.55.248:3000/Duguay/agent.git .
|
||||
|
||||
# 进入项目目录
|
||||
cd agent
|
||||
# 方法2:克隆到指定目录
|
||||
git clone http://123.60.55.248:3000/Duguay/agent.git my-project
|
||||
cd my-project
|
||||
```
|
||||
|
||||
### 3. 安装依赖
|
||||
@@ -85,13 +95,11 @@ npm run serve
|
||||
|
||||
#### Python 3
|
||||
```bash
|
||||
cd agent
|
||||
python3 -m http.server 5175 --bind 127.0.0.1
|
||||
```
|
||||
|
||||
#### Python 2
|
||||
```bash
|
||||
cd agent
|
||||
python -m SimpleHTTPServer 5175
|
||||
```
|
||||
|
||||
|
||||
Reference in New Issue
Block a user