File size: 1,131 Bytes
34b54ad | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 | # ==============================================================================
# PABOT / PERSONAL OPERATING SYSTEM - LOCAL LAUNCHER
# ==============================================================================
Write-Host "==========================================================" -ForegroundColor Cyan
Write-Host " Starting Personal Operating System (PA/POS) Core... " -ForegroundColor Cyan
Write-Host "==========================================================" -ForegroundColor Cyan
# Check if .venv exists
if (Test-Path ".venv\Scripts\Activate.ps1") {
Write-Host "[+] Activating virtual environment (.venv)..." -ForegroundColor Green
& .venv\Scripts\Activate.ps1
}
# Ensure data directories exist
New-Item -ItemType Directory -Force -Path "data\artifacts" | Out-Null
Write-Host "[+] Launching FastAPI Kernel server on http://127.0.0.1:8000..." -ForegroundColor Green
Write-Host "[+] Serving live executive dashboard at http://127.0.0.1:8000/" -ForegroundColor Green
Write-Host "[+] Press Ctrl+C to stop." -ForegroundColor Yellow
python -m uvicorn apps.api.main:app --host 127.0.0.1 --port 8000 --reload
|