-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathvalidate-env.bat
More file actions
44 lines (39 loc) · 1.21 KB
/
Copy pathvalidate-env.bat
File metadata and controls
44 lines (39 loc) · 1.21 KB
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
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
@echo off
REM Validation script to check if environment variables are properly set
REM Run this script to verify your environment setup before starting the application
echo 🔍 Checking RHODA Frontend Environment Setup...
echo ================================================
REM Check if .env file exists
if exist ".env" (
echo ✅ .env file found
) else (
echo ❌ .env file not found
echo Run: copy .env.example .env
echo Then edit .env with your actual Camunda credentials
exit /b 1
)
REM Check for Maven
where mvn >nul 2>&1
if %errorlevel% equ 0 (
echo ✅ Maven is installed
) else (
echo ❌ Maven not found in PATH
echo Please install Maven or add it to your PATH
exit /b 1
)
REM Check for Java
where java >nul 2>&1
if %errorlevel% equ 0 (
echo ✅ Java is installed
java -version 2>&1 | findstr "version" | head -1
) else (
echo ❌ Java not found in PATH
echo Please install Java 17+ or add it to your PATH
exit /b 1
)
echo.
echo 🚀 Environment setup appears correct!
echo You can now run: mvn spring-boot:run
echo.
echo 📝 Note: Make sure your .env file contains real Camunda credentials
echo Get them from: https://console.cloud.camunda.io/