@echo off
echo Starting ASF TestArena...
echo.

REM Check if Docker is running
docker info >nul 2>&1
if errorlevel 1 (
    echo ERROR: Docker is not running. Please start Docker Desktop first.
    pause
    exit /b 1
)

echo Building and starting containers...
docker-compose up -d --build

echo.
echo ASF TestArena is starting up...
echo.
echo Default credentials:
echo Username: admin
echo Password: admin123
echo.
echo Please change the default password after first login!
echo.
echo Access the application at: http://localhost:5000
echo Or at your configured domain: https://testarena.nabd-co.com
echo.
pause
