Skip to content

Commit

Permalink
Refactor environment variable setup and add sample file
Browse files Browse the repository at this point in the history
  • Loading branch information
amitb0ra committed Oct 24, 2024
1 parent b843e9d commit 20d9235
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
4 changes: 4 additions & 0 deletions .env.sample
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
NEXT_PUBLIC_SUPABASE_URL=your-supabase-url
NEXT_PUBLIC_SUPABASE_ANON_KEY=your-supabase-anon-key
NEXT_PUBLIC_CLOUDINARY_CLOUD_NAME=your-cloudinary-name
NEXT_PUBLIC_CLOUDINARY_API_KEY=your-cloudinary-api-key
10 changes: 3 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -53,13 +53,9 @@ We welcome everyone to contribute to the GDG RCCIIT website! Please review our [
npm install
```

3. **Set Up Environment Variables**:
Create a `.env.local` file and add the following:
```env
NEXT_PUBLIC_SUPABASE_URL=your-supabase-url
NEXT_PUBLIC_SUPABASE_ANON_KEY=your-supabase-anon-key
NEXT_PUBLIC_CLOUDINARY_CLOUD_NAME=your-cloudinary-name
NEXT_PUBLIC_CLOUDINARY_API_KEY=your-cloudinary-api-key
3. **Set Up Environment Variables**:
```bash
cp .env.example .env.local
```

4. **Run the Development Server**:
Expand Down

0 comments on commit 20d9235

Please sign in to comment.