13 lines
256 B
PowerShell
13 lines
256 B
PowerShell
$ErrorActionPreference = "Stop"
|
|
$Root = Split-Path -Parent $PSScriptRoot
|
|
Set-Location (Join-Path $Root "frontend")
|
|
|
|
if (-not (Test-Path "node_modules")) {
|
|
npm install
|
|
}
|
|
|
|
if (-not (Test-Path ".env")) {
|
|
Copy-Item ".env.example" ".env"
|
|
}
|
|
|
|
npm run dev
|