docs: Ajout documentation et scripts de démarrage
- Documentation configuration OIDC, démarrage, diagnostic - Scripts batch pour démarrage backend et client - Script shell pour configuration Keycloak frontend
This commit is contained in:
38
start-backend.bat
Normal file
38
start-backend.bat
Normal file
@@ -0,0 +1,38 @@
|
||||
@echo off
|
||||
echo ========================================
|
||||
echo DEMARRAGE DU BACKEND LIONS USER MANAGER
|
||||
echo ========================================
|
||||
echo.
|
||||
|
||||
cd lions-user-manager-server-impl-quarkus
|
||||
|
||||
echo [1/3] Compilation du projet...
|
||||
call mvn clean compile -q
|
||||
if %ERRORLEVEL% NEQ 0 (
|
||||
echo ERREUR: La compilation a echoue
|
||||
pause
|
||||
exit /b 1
|
||||
)
|
||||
|
||||
echo [2/3] Verification de Keycloak...
|
||||
curl -s http://localhost:8180/realms/master/.well-known/openid-configuration >nul 2>&1
|
||||
if %ERRORLEVEL% NEQ 0 (
|
||||
echo ATTENTION: Keycloak ne semble pas etre accessible sur http://localhost:8180
|
||||
echo Veuillez demarrer Keycloak avant de continuer
|
||||
echo.
|
||||
pause
|
||||
)
|
||||
|
||||
echo [3/3] Demarrage de l'application Quarkus...
|
||||
echo.
|
||||
echo Le serveur backend va demarrer sur http://localhost:8081
|
||||
echo Swagger UI: http://localhost:8081/q/swagger-ui
|
||||
echo Health Check: http://localhost:8081/health
|
||||
echo.
|
||||
echo Appuyez sur Ctrl+C pour arreter le serveur
|
||||
echo.
|
||||
|
||||
call mvn quarkus:dev
|
||||
|
||||
pause
|
||||
|
||||
Reference in New Issue
Block a user