From 689928f14726334acd749d7fcfb3f088e6e78f23 Mon Sep 17 00:00:00 2001 From: akdeb Date: Tue, 22 Apr 2025 02:35:20 +0100 Subject: [PATCH] deploying to supabase --- supabase/README.md | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/supabase/README.md b/supabase/README.md index db58eeb..b64ee17 100644 --- a/supabase/README.md +++ b/supabase/README.md @@ -62,6 +62,14 @@ View a live chart of the tables and their relationships [here](http://localhost: 3. Apply to local database: `supabase migration up` 4. Push changes to production when ready +## Deploying to your own supabase instance + +1. Create a new supabase project +2. Copy the supabase url and anon key +3. Paste them in the `.env` and `.env.local` file in the root of the project +4. Link the project to the new supabase instance: `supabase link --project-ref ` +5. Run `supabase db push --include-seed` to push the changes to the local database and seed the database with the data in `supabase/seed.sql` + ## Stopping Supabase ```bash