-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathinstall.bat
31 lines (25 loc) · 838 Bytes
/
install.bat
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
@echo off
echo Starting services...
REM Check if NVIDIA GPU is present
nvidia-smi >nul 2>&1
if %errorlevel% equ 0 (
echo NVIDIA GPU detected, using NVIDIA configuration...
docker compose -f docker-compose-nvidia.yml up -d
) else (
echo No NVIDIA GPU detected, using AMD configuration...
docker compose -f docker-compose-amd.yml up -d
)
echo Waiting for Ollama to start...
timeout /t 10 /nobreak
echo Pulling Qwen 7B model...
docker exec -it ollama ollama pull qwen:7b
echo Restarting services...
if %errorlevel% equ 0 (
docker compose -f docker-compose-nvidia.yml restart
) else (
docker compose -f docker-compose-amd.yml restart
)
echo Opening browser...
start http://localhost:3000
echo Setup complete! You can now use Bolt DIY at http://localhost:3000
echo OpenWebUI is available at http://localhost:8080