Simplify Go installation and support standard OpenCode releases
This commit is contained in:
@@ -5,28 +5,34 @@ server reuse your OpenCode login; Docker ntfy handles phone notifications.
|
||||
|
||||
## Install
|
||||
|
||||
Requires **Go 1.27+**, Python 3, Docker with Compose running, and OpenCode V2
|
||||
connected to OpenCode Go.
|
||||
Requires **Go 1.27+** to install. Use your existing OpenCode for model stages;
|
||||
Docker/ntfy notifications are optional.
|
||||
|
||||
```sh
|
||||
git clone https://git.a-wan.net/alan/pipelines.git
|
||||
cd pipelines
|
||||
./install.sh --system-command
|
||||
go install ./cmd/...
|
||||
pipelines help
|
||||
```
|
||||
|
||||
The installer builds with `go install` and exposes the Go `pipelines` binary in `/usr/local/bin`.
|
||||
Run as your normal user: sudo is used only for the system command link. Services
|
||||
and credentials remain per-user. Setup asks for your phone username, password,
|
||||
and notification topic. Fresh installations contain no pipelines.
|
||||
Go uses `GOBIN` or its normal `GOPATH/bin` default; put that directory on PATH.
|
||||
`./install.sh` runs the same installation. It installs binaries only—no login
|
||||
checks, dependency installers, hardcoded install paths, or automatic services.
|
||||
For system-wide use, install the binaries into your chosen system bin directory
|
||||
with the appropriate permissions. Configuration and data remain per-user.
|
||||
|
||||
Prefer a user-local command? Use `./install.sh` instead (`~/.local/bin/pipelines`).
|
||||
Start explicitly; fresh databases contain no pipelines:
|
||||
|
||||
```sh
|
||||
pipelines serve -workspace-root "$HOME" # foreground server
|
||||
# In another terminal:
|
||||
pipelines
|
||||
```
|
||||
|
||||
## Uninstall
|
||||
|
||||
```sh
|
||||
pipelines uninstall # keep history, credentials, and ntfy data
|
||||
pipelines uninstall --purge # explicitly delete this installation's data
|
||||
pipelines uninstall # remove Go binaries; keep history, drafts, and ntfy data
|
||||
```
|
||||
|
||||
## A three-stage pipeline
|
||||
@@ -89,9 +95,8 @@ pipelines validate /path/to/draft.md
|
||||
pipelines submit /path/to/draft.md # explicit publication
|
||||
pipelines runs
|
||||
pipelines inspect 1
|
||||
pipelines start # manages server + ntfy together
|
||||
pipelines stop
|
||||
pipelines doctor
|
||||
pipelines serve # foreground server; Ctrl+C stops it
|
||||
pipelines ping
|
||||
pipelines help edit
|
||||
```
|
||||
|
||||
|
||||
Reference in New Issue
Block a user