docs: update README with sudo for all installer commands

This commit is contained in:
Claus Lohmar 2026-06-14 16:02:04 +00:00
parent 17170c762a
commit d29ecf41ef

View file

@ -69,7 +69,7 @@ NextWks/
```bash ```bash
curl -fsSL https://git.lohmar.co.uk/lexton-it/NextWks/raw/main/install.sh -o install.sh curl -fsSL https://git.lohmar.co.uk/lexton-it/NextWks/raw/main/install.sh -o install.sh
bash install.sh sudo bash install.sh
``` ```
The installer walks you through: The installer walks you through:
@ -81,7 +81,7 @@ The installer walks you through:
- Systemd service created - Systemd service created
- Smoke test verification - Smoke test verification
To re-run with saved answers: `./install.sh --from-env` To re-run with saved answers: `sudo ./install.sh --from-env`
### Development ### Development
@ -106,21 +106,13 @@ The server starts on `http://localhost:8080` with:
```bash ```bash
# Full install (build → test → deploy → systemd → smoke test) # Full install (build → test → deploy → systemd → smoke test)
./install.sh sudo ./install.sh
sudo ./install.sh --status
# Check status sudo ./install.sh --uninstall
./install.sh --status sudo ./install.sh --build-only # Compile only
sudo ./install.sh --skip-build # Install existing binary
# Uninstall sudo ./install.sh --config-only # Generate config only
./install.sh --uninstall sudo ./install.sh --help # Show all options
```
More options:
```bash
./install.sh --build-only # Compile only
./install.sh --skip-build # Install existing binary
./install.sh --config-only # Generate config only
./install.sh --help # Show all options
``` ```
### Run Tests ### Run Tests