docs: update README with sudo for all installer commands
This commit is contained in:
parent
17170c762a
commit
d29ecf41ef
1 changed files with 9 additions and 17 deletions
26
README.md
26
README.md
|
|
@ -69,7 +69,7 @@ NextWks/
|
|||
|
||||
```bash
|
||||
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:
|
||||
|
|
@ -81,7 +81,7 @@ The installer walks you through:
|
|||
- Systemd service created
|
||||
- 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
|
||||
|
||||
|
|
@ -106,21 +106,13 @@ The server starts on `http://localhost:8080` with:
|
|||
|
||||
```bash
|
||||
# Full install (build → test → deploy → systemd → smoke test)
|
||||
./install.sh
|
||||
|
||||
# Check status
|
||||
./install.sh --status
|
||||
|
||||
# Uninstall
|
||||
./install.sh --uninstall
|
||||
```
|
||||
|
||||
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
|
||||
sudo ./install.sh
|
||||
sudo ./install.sh --status
|
||||
sudo ./install.sh --uninstall
|
||||
sudo ./install.sh --build-only # Compile only
|
||||
sudo ./install.sh --skip-build # Install existing binary
|
||||
sudo ./install.sh --config-only # Generate config only
|
||||
sudo ./install.sh --help # Show all options
|
||||
```
|
||||
|
||||
### Run Tests
|
||||
|
|
|
|||
Loading…
Reference in a new issue