You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+4-4Lines changed: 4 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -24,9 +24,9 @@ Please note this project is designed to work with rooms that have [privacy](http
24
24
## Running locally
25
25
26
26
1. Install dependencies `npm i`
27
-
2.Start dev server `npm run dev`
28
-
3.Then open your browser and go to `http://localhost:3002`
29
-
4.Add the Daily room URL you created to line 31 of `api.js`, and follow the comment's instructions.
27
+
2.Copy `sample.env` to a new file called `.env`, and fill in the REACT_APP_ values
28
+
3.Start dev server `npm run dev`
29
+
4.If it didn't open automatically, open your browser and go to `http://localhost:3002`
30
30
31
31
OR...
32
32
@@ -38,7 +38,7 @@ If you want access to the Daily REST API (using the proxy as specified in `netli
38
38
[](https://app.netlify.com/start/deploy?repository=https://github.com/daily-demos/call-object-react)
39
39
2. Install the Netlify CLI `npm i -g netlify-cli`
40
40
3. Login to your account `netlify login`
41
-
4.Rename`sample.env` to `.env` and add your API key
41
+
4.Copy`sample.env` to a new file called `.env`, and fill in the DAILY_API_KEY
42
42
5. Start the dev server `netlify dev`
43
43
44
44
> Note: If the API proxy isn't working locally you may need to run `netlify build` first. This will put API key in the `netlify.toml` file, so make sure you don't commit this change.
0 commit comments