Skip to content

Commit be1716f

Browse files
authored
Merge pull request #85 from cjam/update-readme-instructions
Update readme instructions
2 parents 06b83c2 + 8bf7643 commit be1716f

File tree

1 file changed

+9
-4
lines changed

1 file changed

+9
-4
lines changed

example/Readme.md

Lines changed: 9 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,13 @@ Which came from https://facebook.github.io/react-native/blog/2018/05/07/using-ty
1111

1212
## Getting Started
1313

14-
### 0: Install Dependencies
15-
Run `yarn install` in this directory.
14+
### 0: Install Dependencies & Build Library
15+
16+
1. Run `yarn install` in this directory.
17+
18+
2. Install Pods by running: `cd ios && pod install && cd ..`
19+
20+
3. Run `yarn install && yarn build` in the [root directory](../) (`../`) to generate the library's `dist` folder.
1621

1722
### 1: ENV File
1823

@@ -21,8 +26,8 @@ I've also added `react-native-dotenv` for easier configuration. In order to con
2126
```env
2227
SPOTIFY_CLIENT_ID="client_id_from_spotify_dashboard"
2328
SPOTIFY_REDIRECT_URL="redirect_uri_registered_in_spotify_dashboard"
24-
SPOTIFY_TOKEN_REFRESH_URL="http://{MACHINE_IP_ADDRESS}:3001/refresh"
25-
SPOTIFY_TOKEN_SWAP_URL="http://{MACHINE_IP_ADDRESS}:3001/swap"
29+
SPOTIFY_TOKEN_REFRESH_URL="http://{MACHINE_IP_ADDRESS}:3000/refresh"
30+
SPOTIFY_TOKEN_SWAP_URL="http://{MACHINE_IP_ADDRESS}:3000/swap"
2631
```
2732

2833
> Note 1: The last two entries define the auth server endpoints. You can run the [example auth server](../example-server/README.md) for this purpose.

0 commit comments

Comments
 (0)