docs(supabase): sandbox prerequisite of e2e:avatar, db-sandbox.sh among dev-env consumers

This commit is contained in:
bchanot committed 2026-11-02 10:47:53 +01:00
1 parent 3a4614bc86
commit e8da0d96d9
2 files changed
+3 -2

No files matched your search

+1 -1
View File
@@ -111,7 +111,7 @@ pinned toolchain from `rust-toolchain.toml` on first use; see
`docs/development/RUST.md` §1 for the three `cargo install` / `rustup
target add` lines and the Docker alternative. The files worker (profile
photos, Step 8) runs as a container beside the local Supabase stack:
`pnpm worker:image`, then `pnpm e2e:avatar` (= `pnpm db:sandbox avatar-e2e`) for the
`pnpm worker:image`, then `pnpm db:sandbox up fresh` and `pnpm e2e:avatar` (= `pnpm db:sandbox avatar-e2e`) for the
real-stack end-to-end run on the throwaway stack, or `docker compose --profile worker up worker` with a `.env.worker`
(`docs/development/STORAGE.md`).
+2 -1
View File
@@ -34,7 +34,8 @@ never hard-coded in the sources.
| derived | `FAUNOSTEO_DEV_API_URL` `http://<host>:54321`, `FAUNOSTEO_DEV_SITE_URL` `http://<host>:5173`, `FAUNOSTEO_DEV_API_ORIGIN`, `FAUNOSTEO_DEV_STUDIO_URL` `:54323`, `FAUNOSTEO_DEV_MAILPIT_URL` `:54325` (gateway) | read by `supabase/config.toml` (`env()`) and by the Vite dev server |
Consumers: `scripts/supabase.sh` (every CLI call: `pnpm supabase …`,
`pnpm db:start|stop|reset|test|types`), `scripts/dev.sh` (`pnpm dev`). The address changes with `FAUNOSTEO_DEV_HOST=…`
`pnpm db:start|stop|reset|test|types`), `scripts/dev.sh` (`pnpm dev`),
`scripts/db-sandbox.sh`. The address changes with `FAUNOSTEO_DEV_HOST=…`
in front of the command, without touching a source file. Calling the CLI
binary directly (`node_modules/.bin/supabase start`) leaves the literal
`env(...)` text in the services: always go through `pnpm`.