-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtest-setup.bat
More file actions
70 lines (63 loc) · 1.69 KB
/
test-setup.bat
File metadata and controls
70 lines (63 loc) · 1.69 KB
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
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
@echo off
echo ========================================
echo Local AI Copilot - Setup Test
echo ========================================
echo.
echo [1/4] Testing Ollama Installation...
ollama --version >nul 2>&1
if %errorlevel% neq 0 (
echo [ERROR] Ollama is not installed or not in PATH
echo Please install from https://ollama.ai
exit /b 1
)
echo [OK] Ollama is installed
echo.
echo [2/4] Checking Ollama models...
ollama list | findstr "gemma3:4b" >nul 2>&1
if %errorlevel% neq 0 (
echo [WARNING] gemma3:4b not found
echo Run: ollama pull gemma3:4b
) else (
echo [OK] gemma3:4b found
)
ollama list | findstr "gemma3:8b" >nul 2>&1
if %errorlevel% neq 0 (
echo [WARNING] gemma3:8b not found
echo Run: ollama pull gemma3:8b
) else (
echo [OK] gemma3:8b found
)
ollama list | findstr "deepseek-r1:8b" >nul 2>&1
if %errorlevel% neq 0 (
echo [WARNING] deepseek-r1:8b not found
echo Run: ollama pull deepseek-r1:8b
) else (
echo [OK] deepseek-r1:8b found
)
echo.
echo [3/4] Checking Python...
python --version >nul 2>&1
if %errorlevel% neq 0 (
echo [ERROR] Python is not installed
exit /b 1
)
echo [OK] Python is installed
echo.
echo [4/4] Checking Node.js...
node --version >nul 2>&1
if %errorlevel% neq 0 (
echo [ERROR] Node.js is not installed
exit /b 1
)
echo [OK] Node.js is installed
echo.
echo ========================================
echo Setup Check Complete!
echo ========================================
echo.
echo Next steps:
echo 1. cd server ^&^& pip install -r requirements.txt
echo 2. python server/server.py (in one terminal)
echo 3. cd vscode-extension ^&^& npm install ^&^& npm run compile
echo 4. Press F5 in VS Code to run the extension
echo.