All startup and management scripts have been created and tested.
./start.sh # Start all services
./start.sh --build # Start with forced rebuild
./start.sh --rebuild # Full rebuild (stop, clean, rebuild)
./start.sh --foreground # Run in foreground (see logs)./stop.sh # Stop services (keep data)
./stop.sh --volumes # Stop and DELETE all data./logs.sh # All logs (follow mode)
./logs.sh backend # Backend only
./logs.sh frontend --tail 50 # Last 50 frontend logs./status.sh # Check all services# 1. Configure environment
cp .env.example .env
nano .env # Add GOOGLE_CLIENT_ID
# 2. Start everything
./start.sh --build
# 3. Check status
./status.sh
# 4. View logs if needed
./logs.sh backend- ✅ Validates Docker installation
- ✅ Checks .env file exists and is configured
- ✅ Validates GOOGLE_CLIENT_ID is set
- ✅ Starts all Docker services
- ✅ Performs health checks on each service
- ✅ Displays access URLs and next steps
- ✅ Shows helpful commands
- ✅ Stops all containers
- ✅ Optionally removes volumes (with --volumes)
- ✅ Confirms before deleting data
- ✅ Shows what was stopped
- ✅ View logs from any service
- ✅ Follow mode (tail -f)
- ✅ Control number of lines shown
- ✅ View all services or specific ones
- ✅ Shows container status
- ✅ Health checks for each service
- ✅ Displays access URLs
- ✅ Shows database connection info
- ✅ Lists useful commands
# Setup and start
cp .env.example .env
nano .env # Add your GOOGLE_CLIENT_ID
./start.sh --build
# Check everything is running
./status.sh
# Open application
open http://localhost:3000# Start
./start.sh
# Work on your code...
# Check status
./status.sh
# View logs if needed
./logs.sh backend
# Stop when done
./stop.sh# Check status
./status.sh
# View specific logs
./logs.sh backend --tail 100
# Full restart with rebuild
./stop.sh
./start.sh --rebuildUpdated all scripts from docker-compose (hyphen) to docker compose (space) for Docker Compose V2 compatibility.
Before:
docker-compose up -dAfter:
docker compose up -d- ✅ start.sh - All docker-compose → docker compose
- ✅ stop.sh - All docker-compose → docker compose
- ✅ logs.sh - All docker-compose → docker compose
- ✅ status.sh - All docker-compose → docker compose
All scripts have been tested with --help flag:
./start.sh --help # ✅ Working
./stop.sh --help # ✅ Working
./logs.sh --help # ✅ Working
./status.sh # ✅ WorkingComplete guides available:
- SCRIPTS.md - Detailed script reference
- GETTING_STARTED.md - Quick start guide
- START_HERE.md - Complete overview
- DOCKER_SETUP.md - Docker details
Everything is set up and ready. Just run:
./start.sh --buildAnd your OTA Channel Manager will be up and running! 🚀