docs(supabase): sandbox prerequisite of e2e:avatar, db-sandbox.sh among dev-env consumers
This commit is contained in:
1 parent
3a4614bc86
commit
e8da0d96d9
2 files changed
+3
-2
No files matched your search
@@ -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
|
`docs/development/RUST.md` §1 for the three `cargo install` / `rustup
|
||||||
target add` lines and the Docker alternative. The files worker (profile
|
target add` lines and the Docker alternative. The files worker (profile
|
||||||
photos, Step 8) runs as a container beside the local Supabase stack:
|
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`
|
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`).
|
(`docs/development/STORAGE.md`).
|
||||||
|
|
||||||
|
|||||||
@@ -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 |
|
| 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 …`,
|
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
|
in front of the command, without touching a source file. Calling the CLI
|
||||||
binary directly (`node_modules/.bin/supabase start`) leaves the literal
|
binary directly (`node_modules/.bin/supabase start`) leaves the literal
|
||||||
`env(...)` text in the services: always go through `pnpm`.
|
`env(...)` text in the services: always go through `pnpm`.
|
||||||
|
|||||||
Reference in new issue
Block a user