docs(readme): rewrite with get.sh one-liners for install, upgrade, and uninstall

All commands are now single-line curl one-liners referencing get.sh directly.
Added dedicated Upgrade and Uninstall sections with full URLs. Requirements
updated to include macOS.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
amir-climy 2026-05-19 19:37:41 +08:00
parent bacccd9550
commit 2a2744f897

View file

@ -5,7 +5,7 @@ Production installer for the Triton Manage Server. Container-based (Docker or Po
## Install ## Install
```bash ```bash
curl -fsSL https://raw.githubusercontent.com/primatekuntech/triton-install/main/manage-server/install.sh | sudo bash curl -fsSL https://raw.githubusercontent.com/primatekuntech/triton-install/main/get.sh | sudo bash
``` ```
That's it. The setup wizard walks you through the rest. That's it. The setup wizard walks you through the rest.
@ -20,8 +20,10 @@ After install, open `http://localhost:8082` and complete the wizard:
## Optional flags ## Optional flags
Pass flags after `--`:
```bash ```bash
sudo bash install.sh [flags] curl -fsSL https://raw.githubusercontent.com/primatekuntech/triton-install/main/get.sh | sudo bash -s -- [flags]
``` ```
| Flag | Description | | Flag | Description |
@ -31,18 +33,36 @@ sudo bash install.sh [flags]
| `--image TAG` | Pin a specific image tag (e.g. `1.0.0-rc.2`). | | `--image TAG` | Pin a specific image tag (e.g. `1.0.0-rc.2`). |
| `--no-tls` | Skip TLS sanity check (dev only). | | `--no-tls` | Skip TLS sanity check (dev only). |
## Other commands ## Upgrade
Pull the latest image and restart (keeps all data, runs DB migrations automatically):
```bash ```bash
# Upgrade to latest image curl -fsSL https://raw.githubusercontent.com/primatekuntech/triton-install/main/get.sh | sudo bash -s -- --upgrade
sudo bash manage-server/upgrade.sh ```
# Uninstall Pin a specific version:
sudo bash manage-server/uninstall.sh
```bash
curl -fsSL https://raw.githubusercontent.com/primatekuntech/triton-install/main/get.sh | sudo bash -s -- --upgrade --image ghcr.io/primatekuntech/triton-manage-server:1.2.0
```
## Uninstall
Stop containers and remove them, but keep all data (PostgreSQL volume, credentials vault):
```bash
curl -fsSL https://raw.githubusercontent.com/primatekuntech/triton-install/main/get.sh | sudo bash -s -- --uninstall
```
Also delete all data (irreversible):
```bash
curl -fsSL https://raw.githubusercontent.com/primatekuntech/triton-install/main/get.sh | sudo bash -s -- --uninstall --purge-data
``` ```
## Requirements ## Requirements
- Linux (amd64 or arm64) - Linux (amd64 or arm64) or macOS
- Docker or Podman with Compose - Docker or Podman with Compose (auto-installed if missing)
- Port 443 open (HTTPS) - Port 443 open (HTTPS)