Spaces:
Paused
Paused
Download scripts/start_local.bat from 3SCError404/nexus: direct link, hf CLI and curl.
- Browser
- Download file 933 Bytes
-
https://huggingface.co/spaces/3SCError404/nexus/resolve/main/scripts/start_local.bat
- Command line
-
hf download hf://spaces/3SCError404/nexus/scripts/start_local.bat
-
curl -L -o start_local.bat https://huggingface.co/spaces/3SCError404/nexus/resolve/main/scripts/start_local.bat
933 Bytes
| @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 | |