You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: packages/database/README.md
+3Lines changed: 3 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -59,6 +59,9 @@ It does mean you will have a fresh database with minimal data.
59
59
60
60
You may want to test your local code against the supabase branch database.
61
61
If you are working on frontend code, you may use the environment variable `NEXT_API_ROOT` (forthcoming) to get the api of the active vercel branch instance (as given in the [vercel interface](https://vercel.com/discourse-graphs/discourse-graph/deployments).)
62
+
63
+
If you have logged in with the vercel cli tool, you can also get the URL with `vercel list -m githubCommitRef=<branch name>`
64
+
62
65
If you are working on the website api code, you need to create a branch-specific `.env` based on the `.env.productiondb`, with values populated from the supabase UI for the branch.
63
66
64
67
IMPORTANT: Avoid using any supabase command while this environment is active. It is also safer to stop your local supabase altogether.
0 commit comments