-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdev.bat
More file actions
33 lines (28 loc) · 888 Bytes
/
dev.bat
File metadata and controls
33 lines (28 loc) · 888 Bytes
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
@echo off
REM Development mode startup script for Code Summarizer (Windows)
REM This script starts the app in development mode with hot-reload
echo =========================================
echo Code Summarizer - Development Mode
echo =========================================
echo.
REM Check if Ollama is running
echo Checking if Ollama is running...
curl -s http://127.0.0.1:11434/api/tags >nul 2>&1
if %errorlevel% neq 0 (
echo WARNING: Ollama doesn't appear to be running!
echo Please start Ollama first.
echo.
set /p continue="Continue anyway? (y/n): "
if /i not "%continue%"=="y" exit /b 1
) else (
echo [OK] Ollama is running
)
echo.
echo Installing dependencies (if needed)...
call npm install
echo.
echo Starting Code Summarizer in development mode...
echo The app will open in a new window.
echo Press Ctrl+C to stop.
echo.
call npm run tauri dev