Files

19 lines
501 B
Batchfile
Raw Permalink Normal View History

2026-09-01 16:33:25 +08:00
@echo off
REM 最简化安装 - 单命令执行所有步骤
echo Installing mini-OpenClaw...
cd /d "%~dp0"
REM 后端
cd backend
python -m venv venv && call venv\Scripts\activate.bat && pip install --upgrade pip -i https://pypi.tuna.tsinghua.edu.cn/simple && pip install -r requirements.txt -i https://pypi.tuna.tsinghua.edu.cn/simple
cd ..
REM 前端
npm install --registry=https://registry.npmmirror.com
echo.
echo Installation complete!
echo Run: start-backend.bat and start-frontend.bat
pause