-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathinstall-deps.bat
More file actions
48 lines (44 loc) · 1.1 KB
/
install-deps.bat
File metadata and controls
48 lines (44 loc) · 1.1 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
45
46
47
48
@echo off
echo Installing EV Fleet Console Dependencies...
echo.
echo Installing Frontend Dependencies...
cd frontend
call npm install
if %errorlevel% neq 0 (
echo Error installing frontend dependencies
pause
exit /b 1
)
cd ..
echo.
echo Installing Telemetry Simulator Dependencies...
cd telemetry-simulator
call npm install
if %errorlevel% neq 0 (
echo Error installing telemetry simulator dependencies
pause
exit /b 1
)
cd ..
echo.
echo Installing Backend Dependencies...
cd backend
call mvnw.cmd clean install -DskipTests
if %errorlevel% neq 0 (
echo Error installing backend dependencies
pause
exit /b 1
)
cd ..
echo.
echo ✅ All dependencies installed successfully!
echo.
echo Next steps:
echo 1. Start PostgreSQL: docker run --name evops-db -e POSTGRES_DB=evops -e POSTGRES_USER=evuser -e POSTGRES_PASSWORD=evpass -p 5432:5432 -d postgres:15
echo 2. Start backend: cd backend && mvnw.cmd spring-boot:run
echo 3. Start frontend: cd frontend && npm start
echo 4. Start simulator: cd telemetry-simulator && npm start
echo.
echo Or use Docker Compose: docker-compose up -d
echo.
pause