-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathdev.bat
More file actions
29 lines (24 loc) · 830 Bytes
/
dev.bat
File metadata and controls
29 lines (24 loc) · 830 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
@echo off
echo 🚀 Starting Perplexify Development Environment
REM Start SearXNG in Docker
echo 📡 Starting SearXNG...
docker compose -f docker-compose.dev.yaml up -d searxng
REM Wait a moment for SearXNG to start
echo ⏳ Waiting for SearXNG to start...
timeout /t 3 /nobreak >nul
REM Check if SearXNG is running
docker compose -f docker-compose.dev.yaml ps searxng | findstr "Up" >nul
if %errorlevel% equ 0 (
echo ✅ SearXNG is running on http://localhost:4000
) else (
echo ❌ Failed to start SearXNG
exit /b 1
)
REM Start Next.js development server
echo ⚡ Starting Next.js development server...
echo 🌐 Your app will be available at http://localhost:3000
echo 🔍 SearXNG will be available at http://localhost:4000
echo.
echo Press Ctrl+C to stop both services
REM Start Next.js dev server
yarn dev