Add reusable local Supabase dev stack#31
Open
bastislack wants to merge 2 commits into
Open
Conversation
Provider-agnostic local DB harness so any branch can develop and test against a local `supabase start` instance instead of prod: - supabase/config.toml: local stack config (Podman-friendly; analytics disabled since its vector shipper can't bind-mount the Docker socket) - supabase/migrations/: baseline migration (consolidated schema.sql) as the CLI source of truth for deterministic `supabase db reset`. Local-only - never pushed to prod, which already has this schema - supabase/seed_users.sql: two throwaway login accounts (dev + admin, password123) with auto-created profiles - SupabaseConfig: USE_LOCAL_SUPABASE dart-define switches local vs prod (defaults to prod, same URL/anon key as before) - .vscode/launch.json: web-server port-8080 launch configs - docs/DEV_SETUP.md: local stack walkthrough - .gitignore: ignore CLI runtime artifacts Seed trick catalog loads from import_tricks2.sql via config.toml. Auth- provider-specific config stays on feature branches.
✅ Deploy Preview for lively-torte-533cc3 ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
Removed comments about auth-provider-specific settings and CLI regeneration.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Use this to have a local DB:
Use admin@local.test (or dev@local.test) / password123 to login.