-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstart-dev.bat
More file actions
33 lines (29 loc) · 920 Bytes
/
Copy pathstart-dev.bat
File metadata and controls
33 lines (29 loc) · 920 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
echo ===========================================
echo 🎓 AI Tutor - Starting Development
echo ===========================================
echo.
:: Check if validator is running
wsl bash -c "pgrep solana-test-validator > /dev/null"
if %errorlevel% neq 0 (
echo Starting Solana Test Validator...
start "Solana Validator" wsl bash -ilc "cd /mnt/d/code2/sah/tutor_project && solana-test-validator --reset"
echo Waiting for validator to start...
timeout /t 5 /nobreak > nul
) else (
echo ✓ Validator already running
)
echo.
echo Starting Next.js Development Server...
cd app
start "Next.js Dev Server" cmd /k "npm run dev"
echo.
echo ===========================================
echo ✅ Setup Complete!
echo ===========================================
echo.
echo Frontend: http://localhost:3000
echo.
echo Press any key to open browser...
pause > nul
start http://localhost:3000