Spaces:
Paused

File size: 933 Bytes
c054d5f
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
@echo off
echo --- NEXUS LOCAL STARTUP (ALWAYS SYNC) ---
echo [1/3] Checking Docker Status...
docker info >nul 2>&1
if %errorlevel% neq 0 (
    echo [ERROR] Docker is not running. Please start Docker Desktop and try again.
    pause
    exit /b 1
)

echo [2/3] Building and Starting Containers...
docker compose up -d --build

echo [3/3] Waiting for API Healthcheck...
timeout /t 5 /nobreak >nul

echo --------------------------------------------------
echo NEXUS GATEWAY IS STARTING UP LOCALLY
echo --------------------------------------------------
echo Customer Portal: http://localhost:8000/customer/
echo Internal Portal: http://localhost:8000/internal/
echo API Documentation: http://localhost:8000/docs
echo --------------------------------------------------
echo To view real-time logs, run: docker compose logs -f
echo To stop services, run: docker compose down
echo --------------------------------------------------
pause