#!/bin/bash # Quick start script for the Background Remover application echo "🚀 Starting Background Remover Application..." echo "" # Check if Docker is installed if ! command -v docker &> /dev/null; then echo "❌ Docker is not installed. Please install Docker first." exit 1 fi # Check if Docker Compose is installed if ! command -v docker-compose &> /dev/null; then echo "❌ Docker Compose is not installed. Please install Docker Compose first." exit 1 fi echo "📦 Building and starting containers..." docker-compose up --build -d echo "" echo "⏳ Waiting for services to be ready..." sleep 10 echo "" echo "✅ Application is starting!" echo "" echo "📍 Access points:" echo " - Frontend: http://localhost" echo " - Backend API: http://localhost:8000" echo " - API Documentation: http://localhost:8000/docs" echo "" echo "📊 View logs: docker-compose logs -f" echo "🛑 Stop application: docker-compose down" echo ""