journal/scripts/dev-shell.ps1
stan44 069b38071c Added Web WebGateway
Added connector so gateway works.
scripts are much more polished and functional.
2026-02-27 11:03:53 -06:00

25 lines
836 B
PowerShell

# Run this in PowerShell before development commands:
# . ./scripts/dev-shell.ps1
$commonScript = Join-Path $PSScriptRoot "script-common.ps1"
if (-not (Test-Path $commonScript)) {
throw "Missing helper script: $commonScript"
}
. $commonScript
$repoRoot = Resolve-JournalRepoRoot -StartPath $PSScriptRoot
# Clear dead proxy overrides and offline-only pip mode in current shell.
Clear-JournalProxyEnv
# Keep .NET artifacts local to repo to avoid restricted user-profile paths.
Initialize-JournalDotnetEnv -RepoRoot $repoRoot
# Keep pip artifacts local to repo.
Initialize-JournalPipEnv -RepoRoot $repoRoot
# Keep Hugging Face cache local and silence symlink-only warning on Windows.
Initialize-JournalHuggingFaceEnv -RepoRoot $repoRoot
Write-Host "Development shell initialized for repo-local dotnet/pip paths at: $repoRoot"