-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathDEBUG_HOMUNCULUS.bat
More file actions
42 lines (37 loc) · 1016 Bytes
/
DEBUG_HOMUNCULUS.bat
File metadata and controls
42 lines (37 loc) · 1016 Bytes
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
@echo off
title Homunculus Ecosystem DEBUG MODE
cd /d "%~dp0"
echo ===========================================
echo [DEBUG] Checking Nova Server...
echo ===========================================
cd nova_server
if not exist venv (
echo [ERROR] Virtual Environment missing!
echo Creating it now...
python -m venv venv
venv\Scripts\pip install -r requirements.txt
) else (
echo [OK] Virtual Environment exists.
)
cd ..
echo ===========================================
echo [DEBUG] Checking UI Dependencies...
echo ===========================================
cd jarvis-pro-v3
if not exist node_modules (
echo [ERROR] Node Modules missing!
echo Installing dependencies...
npm install
) else (
echo [OK] Node Modules exist.
)
echo ===========================================
echo [DEBUG] Launching...
echo ===========================================
npm run start:desktop
if %ERRORLEVEL% NEQ 0 (
echo.
echo [ERROR] Launch failed with code %ERRORLEVEL%.
pause
)
pause