check-services.sh 527 B

1234567891011121314151617181920
  1. #!/bin/bash
  2. if ! docker info &> /dev/null; then
  3. echo "❌ Docker is not running. Please start Docker Desktop and try again."
  4. exit 1
  5. fi
  6. if ! nc -z postgres 5433 2>/dev/null; then
  7. echo "❌ PostgreSQL is not running on port 5432"
  8. echo "💡 Start it with: pnpm --filter @roo-code/evals db:up"
  9. exit 1
  10. fi
  11. if ! nc -z redis 6380 2>/dev/null; then
  12. echo "❌ Redis is not running on port 6379"
  13. echo "💡 Start it with: pnpm --filter @roo-code/evals redis:up"
  14. exit 1
  15. fi
  16. echo "✅ All required services are running"