@echo off REM Load environment variables from .env file and run Spring Boot application echo Loading environment from .env file... REM Read .env file and set environment variables for /f "usebackq tokens=1,* delims==" %%a in (".env") do ( REM Skip comments and empty lines echo %%a | findstr /r "^#" >nul if errorlevel 1 ( if not "%%a"=="" ( set "%%a=%%b" ) ) ) echo. echo Starting Group Ironmen Backend... echo Database: %DB_USER%@%DB_HOST%:%DB_PORT%/%DB_NAME% echo Server Port: %SERVER_PORT% echo. REM Run the application gradlew.bat bootRun pause