-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathQUICK_START_WINDOWS.bat
More file actions
54 lines (47 loc) · 1.26 KB
/
QUICK_START_WINDOWS.bat
File metadata and controls
54 lines (47 loc) · 1.26 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
@echo off
REM SYNAPSE FORGE - 6-HOUR EMERGENCY SETUP (WINDOWS)
echo 🚀 Synapse Forge - Emergency Demo Setup (Windows)
echo ================================================
REM Check Node.js
where node >nul 2>nul
if %ERRORLEVEL% NEQ 0 (
echo ❌ Node.js not found!
echo.
echo Please install Node.js from: https://nodejs.org/
echo Download the LTS version, then run this script again.
pause
exit /b 1
)
echo ✓ Node.js version:
node --version
REM Navigate to project
cd /d %~dp0
REM Install dependencies
echo.
echo 📦 Installing dependencies (this takes 2-3 minutes)...
call npm install
REM Create .env if it doesn't exist
if not exist .env (
echo.
echo 🔑 Creating .env file...
(
echo # Get FREE API key at: https://openrouter.ai/keys
echo OPENROUTER_API_KEY=your_key_here
) > .env
echo.
echo ⚠️ IMPORTANT: Get FREE OpenRouter API key
echo 1. Go to: https://openrouter.ai/keys
echo 2. Sign in (free, no credit card needed^)
echo 3. Copy your API key
echo 4. Edit .env and paste it
echo.
)
echo.
echo ✅ Setup complete!
echo.
echo Next steps:
echo 1. Edit .env with your API key
echo 2. Run: npm run server (Terminal 1^)
echo 3. Run: npm run demo (Terminal 2^)
echo.
pause