-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsetup-desktop.bat
More file actions
57 lines (45 loc) Β· 1.15 KB
/
setup-desktop.bat
File metadata and controls
57 lines (45 loc) Β· 1.15 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
@echo off
echo π Setting up Interview Assistant Desktop App...
echo.
echo Checking Node.js installation...
node --version >nul 2>&1
if %errorlevel% neq 0 (
echo β Node.js is not installed or not in PATH
echo Please install Node.js from https://nodejs.org/
echo Then restart this command prompt and run this script again
pause
exit /b 1
)
echo β
Node.js found!
echo.
echo Installing dependencies...
call npm install
if %errorlevel% neq 0 (
echo β Failed to install dependencies
pause
exit /b 1
)
echo β
Dependencies installed!
echo.
echo Setting up environment...
if not exist .env (
copy env.example .env
echo β
Created .env file
echo.
echo β οΈ IMPORTANT: You need to edit .env file and add your key here
echo Open .env in a text editor and replace 'your_openai_api_key_here' with your actual API key
echo Get your API key from: https://platform.openai.com/api-keys
echo.
pause
) else (
echo β
.env file already exists
)
echo.
echo π Setup complete!
echo.
echo To start the desktop app, run:
echo npm run dev
echo.
echo Or double-click 'start-desktop.bat'
echo.
pause