-
-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathstart-dev.ps1
More file actions
31 lines (25 loc) · 1.09 KB
/
Copy pathstart-dev.ps1
File metadata and controls
31 lines (25 loc) · 1.09 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
# Frame Studio - Development Server
# Clean webpack build - no turbopack, no workers
$ScriptDir = Split-Path -Parent $MyInvocation.MyCommand.Definition
Set-Location $ScriptDir
Write-Host ""
Write-Host "================================" -ForegroundColor Cyan
Write-Host " Frame Studio - Dev Server " -ForegroundColor Cyan
Write-Host "================================" -ForegroundColor Cyan
Write-Host ""
# Check pnpm
if (-not (Get-Command pnpm -ErrorAction SilentlyContinue)) {
Write-Host "[ERROR] pnpm not found. Install: npm i -g pnpm" -ForegroundColor Red
Read-Host "Press Enter to exit"
exit 1
}
# Check .env (optional for server-side API key fallback)
if (-not (Test-Path "$ScriptDir\.env")) {
Write-Host "[INFO] No .env found - users will provide API keys via browser" -ForegroundColor Yellow
Write-Host "[TIP] Add GEMINI_API_KEY to .env for server-side fallback (optional)" -ForegroundColor DarkGray
Write-Host ""
}
Write-Host "Starting Next.js dev server (webpack)..." -ForegroundColor Green
Write-Host "URL: http://localhost:3000" -ForegroundColor Cyan
Write-Host ""
pnpm dev