chore: create .env.example for bootstrap nextjs (#22309)

This commit is contained in:
Han Qiao authored and GitHub committed 2024-03-28 21:17:16 +08:00
1 parent 0e92e3c8c3
commit 5f11d81630
3 files changed
+7 -3

No files matched your search

@@ -1,4 +1,4 @@
# Get these from your API settings: https://supabase.com/dashboard/project/_/settings/api
NEXT_PUBLIC_SUPABASE_URL=https://your-project.supabase.co
NEXT_PUBLIC_SUPABASE_ANON_KEY=your-anon-key
NEXT_PUBLIC_SUPABASE_ANON_KEY=your-anon-key
@@ -61,10 +61,10 @@ Simply clone this repo locally and proceed to the next section.
### Required configuration
Copy the `.env.local.example` file into a file named `.env.local` in the root directory of the example:
Copy the `.env.example` file into a file named `.env.local` in the root directory of the example:
```bash
cp .env.local.example .env.local
cp .env.example .env.local
```
Set your Supabase details from [step 3](#3-get-the-url-and-key) above:
@@ -0,0 +1,4 @@
# Get these from your API settings: https://supabase.com/dashboard/project/_/settings/api
NEXT_PUBLIC_SUPABASE_URL=https://your-project.supabase.co
NEXT_PUBLIC_SUPABASE_ANON_KEY=your-anon-key