Skip to content

Commit

Permalink
Updated readme entry regarding environment setup.
Browse files Browse the repository at this point in the history
  • Loading branch information
Chriztiaan committed Sep 11, 2024
1 parent 927ac56 commit dad54b3
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 4 deletions.
2 changes: 1 addition & 1 deletion demos/react-native-web-supabase-todolist/.gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ npm-debug.*
*.pem

# local env files
.env*.local
.env*.local*

# typescript
*.tsbuildinfo
Expand Down
10 changes: 7 additions & 3 deletions demos/react-native-web-supabase-todolist/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,9 +35,13 @@ bucket_definitions:
## Configure The App
Replace the necessary credentials in the [.env](./.env) file.
Generally, the `.env` file is used for storing common environment variables shared across all instances of the application, while `.env.local` is for overriding or providing environment-specific configurations, particularly for local development.
As `.env.local` is normally not checked into source control (this project has a git-ignore rule), you can copy `.env`, name it `.env.local`, and then configure as needed.
Set up the Environment variables: Copy the `.env.local.template` file:

```bash
cp .env.local.template .env.local
```

And then edit `.env.local` to insert your credentials.

### EAS Build configuration

Expand Down

0 comments on commit dad54b3

Please sign in to comment.