Skip to content

Commit

Permalink
fix(Example): correct instructions on providing AWS credentials to ex…
Browse files Browse the repository at this point in the history
…ample react-app
  • Loading branch information
diehbria committed Mar 20, 2023
1 parent 9f44d5a commit 960067f
Show file tree
Hide file tree
Showing 4 changed files with 19,017 additions and 9,269 deletions.
6 changes: 3 additions & 3 deletions examples/react-app/.env.local.example
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
AWS_ACCESS_KEY_ID=
AWS_SECRET_ACCESS_KEY=
AWS_SESSION_TOKEN=
REACT_APP_AWS_ACCESS_KEY_ID=
REACT_APP_AWS_SECRET_ACCESS_KEY=
REACT_APP_AWS_SESSION_TOKEN=
2 changes: 1 addition & 1 deletion examples/react-app/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ This project was bootstrapped with [Create React App](https://github.com/faceboo

1. Make a copy of the `.env.local.example` as `.env.local`, which will be loaded by the app to get the credentials for testing.

2. Update the `.env.local` file with the AWS credentials you get.
2. Update the `.env.local` file with the AWS credentials you get. Make sure they include the `REACT_APP_PREFIX`!

## Install the latest @iot-app-kit/* packages built locally

Expand Down

0 comments on commit 960067f

Please sign in to comment.