Fixes: 1) Correct entrypoint scripts by removing redundant `python` reference in `uv run` commands; 2) Resolve incorrect imports and adjust class renaming in vibes_auth tests; 3) Address typing errors and minor omissions in existing code. Extra: 1) Improve formatting in settings and middleware files; 2) Update messaging test class names for clarity; 3) Cleanup unused imports and extra whitespaces, ensuring cleaner codebase.
22 lines
No EOL
670 B
PowerShell
22 lines
No EOL
670 B
PowerShell
#!/usr/bin/env pwsh
|
|
Set-StrictMode -Version Latest
|
|
$ErrorActionPreference = 'Stop'
|
|
|
|
.\scripts\Windows\starter.ps1
|
|
if ($LASTEXITCODE -ne 0) {
|
|
exit $LASTEXITCODE
|
|
}
|
|
|
|
Write-Host "Starting database backup process..." -ForegroundColor Magenta
|
|
docker compose exec app uv run manage.py dbbackup
|
|
if ($LASTEXITCODE -ne 0) {
|
|
exit $LASTEXITCODE
|
|
}
|
|
Write-Host "Database backup created under ./dbbackup" -ForegroundColor Green
|
|
|
|
Write-Host "Starting media backup process..." -ForegroundColor Magenta
|
|
docker compose exec app uv run manage.py mediabackup
|
|
if ($LASTEXITCODE -ne 0) {
|
|
exit $LASTEXITCODE
|
|
}
|
|
Write-Host "Media backup created under ./dbbackup" -ForegroundColor Green |