-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdev.sh
More file actions
executable file
·34 lines (27 loc) · 956 Bytes
/
Copy pathdev.sh
File metadata and controls
executable file
·34 lines (27 loc) · 956 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
34
#!/bin/bash
# Drone Zoe Development Server Launcher
# This script makes it easy to start the development environment
echo "🚁 Starting Drone Zoe Development Environment..."
echo ""
# Check if we're in the right directory
if [ ! -f "package.json" ]; then
echo "❌ Error: package.json not found. Please run this script from the project root."
exit 1
fi
# Install dependencies if node_modules doesn't exist
if [ ! -d "node_modules" ]; then
echo "📦 Installing root dependencies..."
npm install
fi
# Check if www app dependencies are installed
if [ ! -d "apps/www/node_modules" ]; then
echo "📦 Installing www app dependencies..."
cd apps/www && npm install && cd ../..
fi
echo ""
echo "🔥 Starting development server..."
echo " - Next.js app will be available at: http://localhost:3002"
echo " - Use Ctrl+C to stop the server"
echo ""
# Start the development server using turbo with specific filter
npm run dev:www