18 lines
497 B
PowerShell
18 lines
497 B
PowerShell
. "$PSScriptRoot\lib\common.ps1"
|
|
|
|
Write-Step "Starting all Cortex services"
|
|
Assert-Docker
|
|
Invoke-CortexCompose up -d cortex-db cortex-embeddings
|
|
|
|
Write-Step "Waiting for embedding model health"
|
|
Wait-HttpOk "http://localhost:8088/health" 300
|
|
|
|
Write-Step "Building Cortex MCP server image"
|
|
Invoke-CortexCompose build cortex-app
|
|
|
|
Write-Step "Applying database migrations"
|
|
Invoke-CortexCompose run --rm cortex-app migrate
|
|
|
|
Write-Step "Starting Cortex MCP server"
|
|
Invoke-CortexCompose up -d cortex-app
|