Next.js 前端 + FastAPI/LangChain 后端透明 agent平台 - 含 .gitignore, 敏感文件(sessions数据/.env/venv等)已排除 - 待后续添加 trajectory 自进化机制
27 lines
519 B
Batchfile
27 lines
519 B
Batchfile
@echo off
|
|
REM 前端启动脚本
|
|
|
|
cd /d "%~dp0"
|
|
|
|
echo ========================================
|
|
echo 启动 mini-OpenClaw 前端服务
|
|
echo ========================================
|
|
echo.
|
|
|
|
REM 检查 node_modules
|
|
if not exist node_modules (
|
|
echo [错误] 依赖未安装,请先运行 install.bat
|
|
pause
|
|
exit /b 1
|
|
)
|
|
|
|
echo [启动] 启动 Next.js 开发服务器...
|
|
echo.
|
|
echo 访问: http://localhost:3000
|
|
echo.
|
|
echo 按 Ctrl+C 停止服务器
|
|
echo ========================================
|
|
echo.
|
|
|
|
npm run dev
|