diff --git a/README.md b/README.md index 21b6c9b..b13ee02 100644 --- a/README.md +++ b/README.md @@ -33,11 +33,27 @@ Basisrouten nach dem Start: 1. Docker + Compose (`docker compose` oder `docker-compose`) 2. Optional fuer TLS-Challenges: `easy-rsa`, `openssl`, `wireshark` +Docker muss in Linux installiert sein oder Docker Desktop mit WSL-Integration muss verfuegbar sein. + +### Installation + +#### Windows + +Installiere die erforderlichen Tools mit winget: + +```powershell +winget install --id Microsoft.VisualStudioCode -e +winget install --id Git.Git -e +winget install --id Docker.DockerDesktop -e +``` + +Nach der Installation von Docker Desktop aktiviere die WSL-Integration in den Einstellungen. + Plattformhinweise: - Linux: Docker Engine oder Docker Desktop - macOS: Docker Desktop (falls `make` fehlt -> `xcode-select --install`) -- Windows: Docker Desktop + WSL Integration aktiv +- Windows: Docker Desktop mit aktivierter WSL-Integration ## Schnellstart diff --git a/scripts/workshop.ps1 b/scripts/workshop.ps1 index 330df41..2387b7c 100644 --- a/scripts/workshop.ps1 +++ b/scripts/workshop.ps1 @@ -10,7 +10,8 @@ if (-not (Get-Command wsl.exe -ErrorAction SilentlyContinue)) { } $repoWinPath = (Resolve-Path (Join-Path $PSScriptRoot "..")).Path -$repoWslPath = (& wsl.exe wslpath -a "$repoWinPath").Trim() +$drive = $repoWinPath[0].ToString().ToLower() +$repoWslPath = "/mnt/$drive/" + $repoWinPath.Substring(3) -replace '\\', '/' if (-not $repoWslPath) { Write-Error "Konnte den WSL Pfad fuer das Repo nicht ermitteln."