Skip to content

Latest commit

 

History

History
79 lines (53 loc) · 1.57 KB

File metadata and controls

79 lines (53 loc) · 1.57 KB

⚠️ Docker Desktop Not Running

Issue

Docker Desktop is not currently running on your system.

Solution

Step 1: Start Docker Desktop

  1. Open Docker Desktop from the Windows Start menu
  2. Wait for Docker to fully start (whale icon in system tray should be steady, not animated)
  3. This may take 1-2 minutes

Step 2: Verify Docker is Running

Open PowerShell and run:

docker info

You should see output about Docker version and info (not an error).

Step 3: Run the Setup Script

Once Docker is running:

cd "c:\Users\mayan\OneDrive\Desktop\Major_project"
.\start-dev.bat

Alternative: Run Frontend Only (Without Backend)

If you want to test the frontend immediately without Docker:

cd "c:\Users\mayan\OneDrive\Desktop\Major_project\project-frontend"
npm run dev

The frontend will use MSW (Mock Service Worker) for fake data.

What the Script Does

When Docker is running, start-dev.bat will:

  1. ✅ Check Docker is running
  2. ✅ Create .env files if needed
  3. ✅ Build Docker containers (first time only, ~5 minutes)
  4. ✅ Start all backend services:
    • PostgreSQL
    • Redis
    • MinIO
    • FastAPI Backend
    • Celery Worker

Next Steps After Docker Starts

  1. Start Docker Desktop
  2. Run: .\start-dev.bat
  3. In a new terminal: cd project-frontend; npm run dev
  4. Open: http://localhost:5173

Quick Health Check Commands

After starting Docker:

# Check running containers
docker-compose ps

# View logs
docker-compose logs -f

# Stop all services
docker-compose down