diff --git a/.claude/settings.local.json b/.claude/settings.local.json index 79da42e..8d39852 100644 --- a/.claude/settings.local.json +++ b/.claude/settings.local.json @@ -12,9 +12,13 @@ "Bash(git push:*)", "Bash(chmod:*)", "Bash(lsof:*)", - "Bash(kill:*)" + "Bash(kill:*)", + "Bash(cat:*)" ], "deny": [], - "ask": [] + "ask": [], + "additionalDirectories": [ + "/Users/apple/Documents/cursor/1111111/agent" + ] } } \ No newline at end of file diff --git a/DEPLOYMENT.md b/DEPLOYMENT.md index c301412..3f86f56 100644 --- a/DEPLOYMENT.md +++ b/DEPLOYMENT.md @@ -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 ``` diff --git a/README.md b/README.md index f847f42..5fb8bd3 100644 --- a/README.md +++ b/README.md @@ -17,8 +17,10 @@ ### 克隆仓库 ```bash -git clone http://123.60.55.248:3000/Duguay/agent.git -cd agent +git clone http://123.60.55.248:3000/Duguay/agent.git . +# 或者 +git clone http://123.60.55.248:3000/Duguay/agent.git ai-workflow +cd ai-workflow ``` ### 安装依赖 @@ -140,6 +142,24 @@ A: 支持所有现代浏览器,建议使用 Chrome 或 Firefox 的最新版本 - 添加交互式节点导航 - 集成图片预览功能 +## 部署注意事项 + +### 克隆方式说明 + +由于项目文件直接在仓库根目录,建议使用以下方式克隆: + +```bash +# 推荐:克隆到指定文件夹 +git clone http://123.60.55.248:3000/Duguay/agent.git my-workflow +cd my-workflow + +# 或克隆到当前空目录 +mkdir my-workflow && cd my-workflow +git clone http://123.60.55.248:3000/Duguay/agent.git . +``` + +避免直接使用 `git clone url` 以防止路径混乱。 + ## 联系方式 如有问题或建议,请提交 Issue 到: