Files
aza/AzA march 2026 - Kopie (3)/start_dev.ps1
2026-03-30 07:59:11 +02:00

21 lines
728 B
PowerShell
Raw Permalink Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
# AZA Desktop Development Start
# Aktiviert die venv und startet die Desktop-App
$ErrorActionPreference = "Stop"
$venvActivate = Join-Path $PSScriptRoot ".venv\Scripts\Activate.ps1"
if (-not (Test-Path $venvActivate)) {
Write-Host "Virtuelle Umgebung nicht gefunden." -ForegroundColor Red
Write-Host "Bitte zuerst erstellen:" -ForegroundColor Yellow
Write-Host " python -m venv .venv" -ForegroundColor Yellow
Write-Host " .\.venv\Scripts\Activate.ps1" -ForegroundColor Yellow
Write-Host " pip install -r requirements-dev.txt" -ForegroundColor Yellow
exit 1
}
& $venvActivate
Write-Host "Starte AZA Desktop (Development)..." -ForegroundColor Cyan
python (Join-Path $PSScriptRoot "basis14.py")