Skip to content

Commit cc1d712

Browse files
simplify: enviornment variable acquirement
1 parent 5bcc40d commit cc1d712

File tree

1 file changed

+7
-16
lines changed

1 file changed

+7
-16
lines changed

README.md

Lines changed: 7 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -154,25 +154,16 @@ VITE_SUPABASE_ANON_KEY=
154154
VITE_POWERSYNC_URL=
155155
```
156156

157-
### How to get these values:
157+
**Where do you get these values?**
158158

159-
**VITE_SUPABASE_URL & VITE_SUPABASE_ANON_KEY:**
159+
For Supabase, you can get both settings directly from:
160+
- VITE_SUPABASE_URL - [API Settings & URL](https://supabase.com/dashboard/project/_/settings/api)
161+
- VITE_SUPABASE_ANON_KEY - [API Keys](https://supabase.com/dashboard/project/_/settings/api-keys)
160162

161-
**Quick Access:** For convenience, you can access both settings directly:
162-
- [API Settings & URL](https://supabase.com/dashboard/project/_/settings/api)
163-
- [API Keys](https://supabase.com/dashboard/project/_/settings/api-keys)
164-
165-
**Detailed Instructions:**
166-
1. Go to your [Supabase Dashboard](https://app.supabase.com)
167-
2. Select your project
168-
3. For the URL: Navigate to Project Settings → Data API and copy the "Project URL" for `VITE_SUPABASE_URL`
169-
4. For the key: Navigate to Project Settings → API Keys and copy the "anon public" key for `VITE_SUPABASE_ANON_KEY`
170-
171-
**VITE_POWERSYNC_URL:**
163+
For PowerSync, follow these steps:
172164
1. Go to your [PowerSync Dashboard](https://powersync.journeyapps.com/)
173-
2. Select your project
174-
3. Navigate to your PowerSync instance
175-
4. Copy the "Instance URL" for `VITE_POWERSYNC_URL`
165+
2. Navigate to your PowerSync instance
166+
3. Copy the "Instance URL" for `VITE_POWERSYNC_URL`
176167

177168
## Use this project with bolt.new
178169

0 commit comments

Comments
 (0)