Promptaid-VIsion / start-local.bat
SCGR's picture
drone image upload option
82ff6c1
@echo off
echo πŸš€ Starting PromptAid Vision Local Development Environment...
echo.
echo 1. Starting MinIO and PostgreSQL...
docker-compose up -d postgres minio
echo.
echo 2. Waiting for services to be ready...
timeout /t 15 /nobreak >nul
echo.
echo 3. Starting Backend on port 8000...
cd py_backend
call .venv\Scripts\activate
start "Backend" cmd /k "uvicorn app.main:app --reload --host 0.0.0.0 --port 8000"
echo.
echo 4. Starting Frontend Dev Server on port 5173...
cd ..\frontend
start "Frontend" cmd /k "npm run dev"
echo.
echo βœ… All Services Started:
echo PostgreSQL: localhost:5434
echo MinIO: localhost:9000
echo MinIO Console: http://localhost:9001
echo Backend: Port 8000
echo Frontend Dev Server: Port 5173
echo.
echo 🌐 URLs:
echo Your App (Dev Mode): http://localhost:5173
echo Your App (Backend Static): http://localhost:8000/app/
echo API Docs: http://localhost:8000/docs
echo Health Check: http://localhost:8000/health
echo MinIO Console: http://localhost:9001 (promptaid/promptaid)
echo.
echo 🎯 Main App URL (Dev Mode): http://localhost:5173
echo.
echo Press any key to stop all services...
pause >nul
echo.
echo πŸ›‘ Stopping all services...
docker-compose down
echo βœ… Services stopped.