Skip to repository content

tenant.openagents/omega

No repository description is available.

OpenAgents Git authority 2026-07-27T23:29:08.547Z Public web read
NIP-34 coordinate30617:7649603503856e5148d571eac2766b288a8ff1e9e35d380337a1d2b0015b4f92:omega
MaintainersHidden in public view
References2 branches · 1 tag
Read-only clonegit clone https://openagents.com/git/tenant.openagents/omega.git
Browse files

bootstrap.ps1

22 lines · 654 B · text
1$ErrorActionPreference = 'Stop'
2$PSNativeCommandUseErrorActionPreference = $true
3
4$env:POWERSHELL = $true
5
6if (!(Get-Command sqlx -ErrorAction SilentlyContinue) -or (sqlx --version) -notlike "sqlx-cli 0.7.2") {
7    Write-Output "sqlx-cli not found or not the required version, installing version 0.7.2..."
8    cargo install sqlx-cli --version 0.7.2
9}
10
11Set-Location .\crates\collab
12
13# Export contents of .env.toml
14$env = (cargo run --bin dotenv) -join "`n";
15Invoke-Expression $env
16
17Set-Location ../..
18
19Write-Output "creating databases..."
20sqlx database create --database-url "$env:DATABASE_URL"
21sqlx database create --database-url "$env:LLM_DATABASE_URL"
22
Served at tenant.openagents/omega Member data and write actions are omitted.