Files
agent/quick-start.bat
KQL e8fd104bf7 修复部署配置,确保正确显示主页面
- 修正 package.json 中的服务器启动路径
- 更新快速启动脚本的访问地址提示
- 更新文档中的访问URL为完整路径
- 确保服务器从项目根目录启动而非public目录
2025-08-24 14:15:14 +08:00

44 lines
870 B
Batchfile
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.

@echo off
echo ======================================
echo AI Agent 工作流 - 快速启动脚本
echo ======================================
echo.
REM 检查Node.js是否安装
where node >nul 2>nul
if %errorlevel% == 0 (
echo √ Node.js 已安装
node -v
) else (
echo × Node.js 未安装
echo 请先安装 Node.js: https://nodejs.org/
pause
exit /b 1
)
REM 检查npm是否安装
where npm >nul 2>nul
if %errorlevel% == 0 (
echo √ npm 已安装
npm -v
) else (
echo × npm 未安装
pause
exit /b 1
)
echo.
echo 正在安装依赖...
call npm install
echo.
echo ======================================
echo 启动服务器...
echo ======================================
echo.
echo 服务器地址: http://127.0.0.1:5175/linear-workflow.html
echo 按 Ctrl+C 停止服务器
echo.
REM 启动服务器
call npm run dev