Files
cmr-mini/backend/start-backend.ps1

14 lines
364 B
PowerShell

Set-StrictMode -Version Latest
$ErrorActionPreference = "Stop"
$backendDir = Split-Path -Parent $MyInvocation.MyCommand.Path
$scriptPath = Join-Path $backendDir "scripts\start-dev.ps1"
if (-not (Test-Path $scriptPath)) {
throw ("Backend start script not found: " + $scriptPath)
}
Set-Location $backendDir
powershell -ExecutionPolicy Bypass -File $scriptPath