-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathdev.sh
More file actions
executable file
·29 lines (23 loc) · 798 Bytes
/
dev.sh
File metadata and controls
executable file
·29 lines (23 loc) · 798 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
#!/bin/bash
echo "🚀 Starting Perplexify Development Environment"
# Start SearXNG in Docker
echo "📡 Starting SearXNG..."
docker compose -f docker-compose.dev.yaml up -d searxng
# Wait a moment for SearXNG to start
echo "⏳ Waiting for SearXNG to start..."
sleep 3
# Check if SearXNG is running
if docker compose -f docker-compose.dev.yaml ps searxng | grep -q "Up"; then
echo "✅ SearXNG is running on http://localhost:4000"
else
echo "❌ Failed to start SearXNG"
exit 1
fi
# 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"
# Start Next.js dev server
yarn dev