-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathinstall.bat
More file actions
72 lines (66 loc) · 1.52 KB
/
Copy pathinstall.bat
File metadata and controls
72 lines (66 loc) · 1.52 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
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
@echo off
echo.
echo ============================================
echo FINGUARD - Quick Setup Script
echo Financial Stress Simulator
echo ============================================
echo.
echo Checking Node.js installation...
node --version >nul 2>&1
if %errorlevel% neq 0 (
echo ERROR: Node.js is not installed!
echo Please install Node.js 18+ from https://nodejs.org/
pause
exit /b 1
)
echo Node.js found:
node --version
echo.
echo Installing dependencies...
echo.
echo [1/3] Installing root dependencies...
call npm install
if %errorlevel% neq 0 (
echo ERROR: Failed to install root dependencies
pause
exit /b 1
)
echo.
echo [2/3] Installing frontend dependencies...
cd frontend
call npm install
if %errorlevel% neq 0 (
echo ERROR: Failed to install frontend dependencies
pause
exit /b 1
)
cd ..
echo.
echo [3/3] Installing backend dependencies...
cd backend
call npm install
if %errorlevel% neq 0 (
echo ERROR: Failed to install backend dependencies
pause
exit /b 1
)
cd ..
echo.
echo ============================================
echo Installation Complete!
echo ============================================
echo.
echo To start the application:
echo npm run dev
echo.
echo Or start individually:
echo Frontend: npm run dev:frontend
echo Backend: npm run dev:backend
echo.
echo Frontend will be at: http://localhost:5173
echo Backend will be at: http://localhost:3000
echo.
echo For more information, see SETUP.md
echo ============================================
echo.
pause