Skip to content

Commit 50004a1

Browse files
authored
Update README with missing self-hosting instructions (#13)
2 parents 8549d92 + 00e4dac commit 50004a1

File tree

1 file changed

+13
-5
lines changed

1 file changed

+13
-5
lines changed

README.md

Lines changed: 13 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -74,13 +74,21 @@ vercel storage add
7474
2. Go to Project Settings > API
7575
3. Copy the `anon key` and `service_role key`
7676
4. Copy the project URL
77+
5. Configure authentication:
78+
- Go to Authentication > URL Configuration
79+
- Set Site URL to the hosting domain
80+
- Add `http://localhost:3000/**` to Redirect URLs (for development)
81+
6. Enable auth providers:
82+
- Go to Authentication > Providers
83+
- Enable the providers you want to use (GitHub, Google, E-Mail)
84+
- Configure each provider with the appropriate credentials
7785

7886
#### c. Database Setup
79-
1. Retrieve the `POSTGRES_CONNECTION_STRING` from the Supabase project settings
80-
2. Run the migrations by running the following command:
81-
```bash
82-
bun run db:migrations:apply
83-
```
87+
1. Apply the database migrations manually:
88+
- Navigate to the `/migrations` folder in the project
89+
- Execute each SQL migration file in sequential order against your Supabase database
90+
- You can run these migrations using the Supabase SQL Editor or a PostgreSQL client
91+
- Make sure to apply migrations in the correct order based on their timestamp prefixes
8492

8593
#### d. Supabase Storage Setup
8694
1. Go to Storage > Buckets

0 commit comments

Comments
 (0)