update
This commit is contained in:
20
AzA march 2026/start_dev.ps1
Normal file
20
AzA march 2026/start_dev.ps1
Normal file
@@ -0,0 +1,20 @@
|
||||
# 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")
|
||||
Reference in New Issue
Block a user