From 18188f44b8b24e1b1d1afd64eff6078e90344d9f Mon Sep 17 00:00:00 2001 From: sysops Date: Fri, 10 Jul 2026 17:42:26 +0200 Subject: [PATCH] Move bootstrap installer to project root, document one-liner install Simplifies the download URL for the curl-pipe-bash quickstart. Co-Authored-By: Claude Sonnet 5 --- README.md | 25 +++++++++++++++++++++++-- scripts/bootstrap.sh => bootstrap.sh | 0 2 files changed, 23 insertions(+), 2 deletions(-) rename scripts/bootstrap.sh => bootstrap.sh (100%) diff --git a/README.md b/README.md index efff888..47be4d4 100644 --- a/README.md +++ b/README.md @@ -43,13 +43,34 @@ systemd. Betrieb als natives Go-Binary. ## Installation -### 1. Aus dem Quellcode bauen +### Schnellinstallation (Einzeiler) + +Auf einem frischen Debian/Ubuntu-Host (als root), lädt und installiert alles +in einem Schritt (Abhängigkeiten, Go-Toolchain falls nötig, Quellcode, Build, +`install.sh`): + +```bash +curl -fsSL https://gitea.perlbach24.de/scripte/wireguard-ui-multi/raw/branch/main/bootstrap.sh | bash +``` + +Danach nur noch: + +```bash +sudo systemctl enable --now wireguard-ui-multi.service +``` + +Der Quellcode bleibt unter `/opt/wireguard-ui-multi-src` liegen; erneutes +Ausführen des Einzeilers aktualisiert die Installation. + +### Manuelle Installation + +#### 1. Aus dem Quellcode bauen ```bash go build -o wireguard-ui-multi ./cmd/wireguard-ui-multi ``` -### 2. Installationsskript ausführen (als root) +#### 2. Installationsskript ausführen (als root) ```bash sudo ./scripts/install.sh diff --git a/scripts/bootstrap.sh b/bootstrap.sh similarity index 100% rename from scripts/bootstrap.sh rename to bootstrap.sh