From 15d792020815d0dcc5c6678d31593f604e747647 Mon Sep 17 00:00:00 2001 From: Daniel Norman Date: Sun, 5 Jul 2026 20:24:17 -0700 Subject: [PATCH] docs: document the Sled/Postgres storage flag in the README --- README.md | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/README.md b/README.md index c52aca4..6f9a9b6 100644 --- a/README.md +++ b/README.md @@ -105,6 +105,14 @@ const DEFAULT_SERVER_URL: &str = "ws://your-server:9898"; Or pass a custom URL when initializing in `App.tsx`. +### Server storage engine + +The server (`ankurah-rn-server`) stores data in **Sled** by default. Generate the +project with `--define storage=postgres` to back it with **Postgres** instead; the +server then reads `DATABASE_URL` (point it at your Postgres). Both are wired through +the `sled` / `postgres` features in `server/Cargo.toml`. This is independent of the +app's on-device storage. + ## Running Tests ```bash