File size: 1,251 Bytes
bc8e3e9
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
82ff6c1
 
 
 
 
bc8e3e9
 
 
 
 
 
82ff6c1
bc8e3e9
 
82ff6c1
 
bc8e3e9
 
 
 
82ff6c1
bc8e3e9
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
@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.