| … | … | @@ -51,11 +51,13 @@ refuses to continue if the store's filesystem can't host a socket + symlink. |
| 51 | 51 | ```bash |
| 52 | 52 | curl -sSfL https://7rnx.net/git/bootstrap/install.sh | sh |
| 53 | 53 | pgh init |
| 54 | pgh app boot |
| 54 | 55 | ``` |
| 55 | 56 | |
| 56 | | That installs `pgh` + `pgh-sidecar` into `~/.local/bin/` (no root), then |
| 57 | | `pgh init` bootstraps the local registries and starts the sidecar daemon. |
| 58 | | Make sure `~/.local/bin` is on your `PATH`. |
| 57 | That installs `pgh` + `pgh-sidecar` into `~/.local/bin/` (no root). `pgh init` |
| 58 | then sets up your identity, tree store, and local registries; `pgh app boot` |
| 59 | starts the `pgh-sidecar` daemon (`init` itself does **not** start it). Make |
| 60 | sure `~/.local/bin` is on your `PATH`. |
| 59 | 61 | |
| 60 | 62 | Other install forms (pinned version, local tarball, custom prefix) are in |
| 61 | 63 | [`docs/overview.md`](./docs/overview.md). |
| … | … | @@ -133,17 +135,22 @@ for pkg in hyper-overlay hyper-rooms hyper-svc hyper-deploy \ |
| 133 | 135 | done |
| 134 | 136 | ``` |
| 135 | 137 | |
| 136 | | `bare-runtime` drops a `bare` binary at `pgh/node_modules/.bin/bare`. pgh's |
| 137 | | launchers resolve `bare` from your `PATH`, so put one there — either install |
| 138 | | it globally (`npm i -g bare-runtime`) or symlink the one you just built: |
| 138 | `npm install` also drops a `bare` binary at `pgh/node_modules/.bin/bare` (via |
| 139 | `bare-runtime`). You invoke it explicitly in the next step, and `pgh app adopt` |
| 140 | bakes that runtime's **absolute** path into the launchers it writes — so `bare` |
| 141 | does **not** need to be on your `PATH` (verified: the flow runs with no `bare` |
| 142 | on `PATH` at all). |
| 143 | |
| 144 | `~/.local/bin` **does** need to be on your `PATH` — that's where the `pgh` and |
| 145 | `pgh-sidecar` launchers land: |
| 139 | 146 | |
| 140 | 147 | ```bash |
| 141 | 148 | mkdir -p ~/.local/bin |
| 142 | | ln -sf "$PWD/pgh/node_modules/.bin/bare" ~/.local/bin/bare |
| 149 | export PATH="$HOME/.local/bin:$PATH" # add to your shell rc to persist |
| 143 | 150 | ``` |
| 144 | 151 | |
| 145 | | `~/.local/bin` must be on your `PATH` for the `pgh` / `bare` launchers to |
| 146 | | resolve (add `export PATH="$HOME/.local/bin:$PATH"` to your shell rc if not). |
| 152 | (Optional: `npm i -g bare-runtime` if you want a standalone `bare` command on |
| 153 | your `PATH` for other bare programs — the pgh launchers don't rely on it.) |
| 147 | 154 | |
| 148 | 155 | ### 4. Register the source trees and initialise |
| 149 | 156 | |