Document catalog host moves and add per-module host-deps installer.
Some checks are pending
offline / test (push) Waiting to run
Some checks are pending
offline / test (push) Waiting to run
zapier-docs-master now has CATALOG-HOST.md (relative PDFs / rewrite-docs-host.py) and HOST-DEPS.md. verae-bootstrap/scripts/host-deps.sh checks and installs git, Node, native build tools, and nats-server on Debian or Alpine from host-deps.tsv (every Forgejo module). fetch.sh runs it before clone/npm.
This commit is contained in:
parent
20155de96b
commit
2d51d7a0dd
17 changed files with 629 additions and 9 deletions
|
|
@ -46,13 +46,24 @@ Optional: `verae-activate` (tiny pushable app), `verae-zapier-simulator` (trace)
|
|||
|
||||
## Runtime dependencies
|
||||
|
||||
Install (or verify) OS packages on the **target** machine — Debian/Ubuntu or Alpine:
|
||||
|
||||
```bash
|
||||
git clone ssh://git@git.georgelambert.org:2223/marchon/verae-bootstrap.git
|
||||
cd verae-bootstrap
|
||||
bash scripts/host-deps.sh --check --type ns1-all-in-one
|
||||
bash scripts/host-deps.sh --type ns1-all-in-one
|
||||
```
|
||||
|
||||
Manifest: `host-deps.tsv`. Narrative: [HOST-DEPS.md](https://git.georgelambert.org/marchon/verae-bootstrap). Catalog hostname move: [CATALOG-HOST.md](https://git.georgelambert.org/marchon/zapier-docs-master/src/branch/main/CATALOG-HOST.md).
|
||||
|
||||
| Service | Needs |
|
||||
|---------|--------|
|
||||
| zappier-edge | Node 20+, SQLite path or volume, `PORT`, optional Stripe keys |
|
||||
| zappier-edge | Node 20+, **better-sqlite3** (python3/make/g++ on Linux), SQLite path, `PORT`, optional Stripe keys |
|
||||
| middleware | Node 22+, `NATS_URL` **or** `NATS_ENABLED=false`, chain URL or `MOCK_VERAE` |
|
||||
| NATS | JetStream, **no public bind** |
|
||||
| NATS | JetStream, **no public bind** (`host-deps.sh --nats` on archive / all-in-one) |
|
||||
| worm / tree-node | Node, `NATS_URL`, local state dir |
|
||||
| fleet | Node, `machines.json` (SSH **paths**), HTTP `:3850` on `0.0.0.0` |
|
||||
| fleet | Node, `machines.json` (SSH **paths**), HTTP `:3850` on `0.0.0.0`, `openssh-client` |
|
||||
| Zapier cloud app | `MIDDLEWARE_BASE_URL` = **public HTTPS of zappier-edge** (or middleware if you skip metering in lab) |
|
||||
|
||||
## Ports (lab defaults)
|
||||
|
|
|
|||
|
|
@ -33,6 +33,18 @@ The billing and user platform is the standalone **zappier** project (`/Users/mar
|
|||
|
||||
## 15-minute lab (one machine)
|
||||
|
||||
Bare metal / VM (Debian or Alpine): install OS + Node first, then clone.
|
||||
|
||||
```bash
|
||||
git clone ssh://git@git.georgelambert.org:2223/marchon/verae-bootstrap.git
|
||||
cd verae-bootstrap
|
||||
bash scripts/host-deps.sh --type ns1-all-in-one
|
||||
export VERAE_SRC=$HOME/verae-src
|
||||
bash scripts/fetch.sh ns1-all-in-one
|
||||
```
|
||||
|
||||
Docker lab from the monorepo:
|
||||
|
||||
```bash
|
||||
git clone ssh://git@git.georgelambert.org:2223/marchon/master-zapier-plan-draft.git
|
||||
cd master-zapier-plan-draft
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue