README: add explicit curl download command before install

This commit is contained in:
Claus Lohmar 2026-07-11 00:07:56 +01:00
parent 81e5505f2a
commit 6113f62ad2

View file

@ -27,12 +27,17 @@ app.nextwks.eu :443 auth.nextwks.eu :443
## Quick Start (Bare VM) ## Quick Start (Bare VM)
```bash ```bash
curl -sL https://git.lohmar.co.uk/lexton-it/NextWks/raw/branch/main/tools/nextwks.sh \ # Download the script to your home folder
| sudo bash -s -- --install curl -o ~/nextwks.sh https://git.lohmar.co.uk/lexton-it/NextWks/raw/branch/main/tools/nextwks.sh
chmod +x ~/nextwks.sh
# Run the installer
sudo bash ~/nextwks.sh --install
``` ```
Prompts for domain, TLS email, and admin credentials. Installs deps (Go, Podman, git), Prompts for domain, TLS email, and admin credentials. Installs deps (Go, Podman, git),
clones repo to `/tmp/nextwks-build/`, builds binary, generates configs, deploys stack. clones repo to `/tmp/nextwks-build/`, builds binary, generates configs, deploys stack.
The script stays in `~/nextwks.sh` for future updates.
## Directory Layout ## Directory Layout
@ -61,10 +66,6 @@ clones repo to `/tmp/nextwks-build/`, builds binary, generates configs, deploys
## Operations ## Operations
```bash ```bash
# First-time install (download + run — saves itself to ~/nextwks.sh)
curl -sL https://git.lohmar.co.uk/lexton-it/NextWks/raw/branch/main/tools/nextwks.sh \
| sudo bash -s -- --install
# Smart update (pull, build, copy, restart) # Smart update (pull, build, copy, restart)
sudo bash ~/nextwks.sh --update sudo bash ~/nextwks.sh --update