diff --git a/.claude/settings.local.json b/.claude/settings.local.json index 028910f..495b4d6 100644 --- a/.claude/settings.local.json +++ b/.claude/settings.local.json @@ -6,7 +6,11 @@ "mcp__serena__read_file", "Bash(open /Users/apple/Documents/cursor/数字员工/linear-workflow.html)", "Bash(git init:*)", - "Bash(git add:*)" + "Bash(git add:*)", + "Bash(git commit:*)", + "Bash(git remote add:*)", + "Bash(git push:*)", + "Bash(chmod:*)" ], "deny": [], "ask": [] diff --git a/DEPLOYMENT.md b/DEPLOYMENT.md index 5672962..01e29be 100644 --- a/DEPLOYMENT.md +++ b/DEPLOYMENT.md @@ -24,7 +24,7 @@ cd agent quick-start.bat ``` -项目将自动在 `http://127.0.0.1:5175` 启动 +项目将自动在 `http://127.0.0.1:5175` 启动,并打开 `linear-workflow.html` 页面 --- @@ -73,7 +73,9 @@ npm run serve ### 5. 访问应用 -在浏览器中访问:`http://127.0.0.1:5175` +在浏览器中访问:`http://127.0.0.1:5175/linear-workflow.html` + +或者如果使用 `npm run dev`,浏览器会自动打开 --- diff --git a/README.md b/README.md index 049848d..8c0456e 100644 --- a/README.md +++ b/README.md @@ -33,7 +33,9 @@ npm install npm run dev ``` -项目将在 `http://127.0.0.1:5175` 启动,并自动打开浏览器展示页面。 +项目将在 `http://127.0.0.1:5175` 启动,并自动打开浏览器展示 `linear-workflow.html` 页面。 + +如果浏览器没有自动打开,请手动访问:`http://127.0.0.1:5175/linear-workflow.html` ## 部署方式 diff --git a/package.json b/package.json index ba360d3..21529c3 100644 --- a/package.json +++ b/package.json @@ -4,8 +4,8 @@ "description": "AI Agent 设计工作流 - 奶茶快闪店宝可梦主题设计", "main": "linear-workflow.html", "scripts": { - "dev": "npx http-server -p 5175 -a 127.0.0.1 -o /linear-workflow.html", - "serve": "npx http-server -p 5175 -a 127.0.0.1" + "dev": "npx http-server . -p 5175 -a 127.0.0.1 -o linear-workflow.html", + "serve": "npx http-server . -p 5175 -a 127.0.0.1" }, "keywords": [ "AI", diff --git a/quick-start.bat b/quick-start.bat index f430763..1583ad9 100644 --- a/quick-start.bat +++ b/quick-start.bat @@ -36,7 +36,7 @@ echo ====================================== echo 启动服务器... echo ====================================== echo. -echo 服务器地址: http://127.0.0.1:5175 +echo 服务器地址: http://127.0.0.1:5175/linear-workflow.html echo 按 Ctrl+C 停止服务器 echo. diff --git a/quick-start.sh b/quick-start.sh index 10758f4..01a16e9 100755 --- a/quick-start.sh +++ b/quick-start.sh @@ -31,7 +31,7 @@ echo "======================================" echo "🚀 启动服务器..." echo "======================================" echo "" -echo "服务器地址: http://127.0.0.1:5175" +echo "服务器地址: http://127.0.0.1:5175/linear-workflow.html" echo "按 Ctrl+C 停止服务器" echo ""