Add TeamMember model and APIs, team status UI, /admin page, local server bats, and scripts to sync data between local PostgreSQL and Render. Co-authored-by: Cursor <cursoragent@cursor.com>
10 lines
284 B
PowerShell
10 lines
284 B
PowerShell
$ok = $false
|
|
1..30 | ForEach-Object {
|
|
if (Test-NetConnection -ComputerName localhost -Port 5432 -WarningAction SilentlyContinue -ErrorAction SilentlyContinue | Where-Object { $_.TcpTestSucceeded }) {
|
|
$ok = $true
|
|
break
|
|
}
|
|
Start-Sleep -Seconds 1
|
|
}
|
|
if (-not $ok) { exit 1 }
|