-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathstart.bat
More file actions
39 lines (34 loc) · 1.2 KB
/
Copy pathstart.bat
File metadata and controls
39 lines (34 loc) · 1.2 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
@echo off
TITLE Lumina Invest Launcher
COLOR 0B
echo ===================================================
echo 🌟 LUMINA INVEST LAUNCHER 🌟
echo ===================================================
echo.
echo Starting the application... Please wait.
:: Check if node_modules exists, if not, run npm install
IF NOT EXIST "node_modules\" (
echo [INFO] First time setup detected. Installing dependencies...
call npm install
echo.
)
:: Start the Backend Server in a new minimized window
echo [INFO] Starting Backend Server (Port 3001)...
start "Lumina Backend" /MIN cmd /c "node server.js"
:: Give the server a couple of seconds to start
timeout /t 2 /nobreak > NUL
:: Start the Frontend Server in a new window
echo [INFO] Starting Frontend Interface (Vite)...
start "Lumina Frontend" cmd /k "npm run dev"
echo.
echo ===================================================
echo ✅ All systems go!
echo.
echo The Backend is running quietly in the background.
echo The Frontend window will stay open to show you logs.
echo.
echo Open your browser and go to: http://localhost:5173
echo ===================================================
echo.
echo Press any key to close this launcher menu...
pause > NUL