AOSSIE-Org / AOSSIE-Org/Ell-ena

DOCS UPDATE: supabase secrets set --env-file ./supabase/functions/.env doesnot allow prefix SUPABASE_

Open
#129 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
Dart
Stars
54
Forks
110
PR merge metrics
No merged PRs in 30d

Description

### Is this related to an existing part of the documentation?

- [x] Yes, it is related to an existing section

### What needs to be updated?

## 📌 Current Documentation Issue

In Backend.md, the instructions say
```
supabase secrets set SUPABASE_SERVICE_ROLE_KEY=your-service-role-key
supabase secrets set SUPABASE_DB_URL=your-db-url
```
but supabase doesnot allow variables with prefix SUPABASE_

## ✨ Proposed Changes

- There is no need of SUPABASE_SERVICE_ROLE_KEY, as it is automatically injected by supabase
- Need to change SUPABASE_DB_URL to DATABASE_URL and update its usage across project.

## 📋 Additional Context

Image

### Relevant Documentation Link (if any)

_No response_

### Record

- [x] I agree to follow this project's Code of Conduct
- [x] I want to work on this update

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.