23 lines
334 B
Bash
Executable File
23 lines
334 B
Bash
Executable File
#!/bin/bash
|
|
|
|
set -e
|
|
|
|
SERVICE=$1
|
|
|
|
if [ -z "$SERVICE" ]; then
|
|
echo "Usage: $0 <service-name>"
|
|
echo "Example: $0 auth-service"
|
|
exit 1
|
|
fi
|
|
|
|
echo "🚀 Starting $SERVICE..."
|
|
|
|
# Check if service exists
|
|
if [ ! -d "services/$SERVICE" ]; then
|
|
echo "❌ Service $SERVICE not found"
|
|
exit 1
|
|
fi
|
|
|
|
cd "services/$SERVICE"
|
|
pnpm dev
|