create-rindle 0.6.3 → 0.6.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
|
@@ -73,8 +73,10 @@ pnpm rindle:migrate:remote # push migrations/*.sql to the deployed write-mast
|
|
|
73
73
|
```
|
|
74
74
|
|
|
75
75
|
`rindle deploy` reads `rindle.ncl` and records the binding in `.rindle/cloud.json` — commit it, so
|
|
76
|
-
future deploys re-attach to the same app. `followers = 1` provisions
|
|
77
|
-
(`
|
|
76
|
+
future deploys re-attach to the same app. `followers = 1` provisions a backed-up write-master + one
|
|
77
|
+
follower (`replicated`, scales 1→N in place); raise it for more read replicas (`read-scaled`);
|
|
78
|
+
`localRetention = true` provisions the one-box colocated pair (`colocated`, no streaming backup —
|
|
79
|
+
no durability beyond the box). That deploys the **data tier**; the
|
|
78
80
|
**web app** (this Vite/TanStack Start app) deploys to any Node host — point its `RINDLE_DAEMON_URL`
|
|
79
81
|
(fleet-edge reads) + `RINDLE_REPLICATOR_URL` (writes) + their tokens (server) at the deployed data
|
|
80
82
|
tier, and set `VITE_FLEET_WS` to the stable public fleet ws. These bindings are identical for one or
|
|
@@ -12,8 +12,9 @@
|
|
|
12
12
|
# rindle migrate apply --remote # push migrations/*.sql to the deployed write-master
|
|
13
13
|
#
|
|
14
14
|
# `app` becomes the cloud display name and groups every component under one app in `rindle ps`.
|
|
15
|
-
# `followers = 1` maps to the cloud `
|
|
16
|
-
# maps to `read-scaled`.
|
|
15
|
+
# `followers = 1` maps to the cloud `replicated` rung (a separate write-master + one follower,
|
|
16
|
+
# backed up; scales 1→N in place); `followers > 1` maps to `read-scaled`. `localRetention = true`
|
|
17
|
+
# maps to `colocated` (one box, both processes, no streaming backup).
|
|
17
18
|
#
|
|
18
19
|
# Every follower count renders a local fleet edge (the Fly-edge stand-in;
|
|
19
20
|
# FOLLOWER-AFFINITY-DESIGN.md §10). `rindle exec` derives the app's read/write/ws bindings from this
|