Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update example readme #303

Merged
merged 2 commits into from
Aug 10, 2019
Merged

Update example readme #303

merged 2 commits into from
Aug 10, 2019

Conversation

henninghall
Copy link
Contributor

Example project setup explanation is not correct. A postinstall hook automatically creates the env.json file. Instead, a file named access file needs to be provided.

Project setup explanation is not correct. A postinstall hook automatically creates the env.json file. Instead, an `access` file needs to be provided.
@mfazekas
Copy link
Contributor

mfazekas commented Aug 8, 2019

It was changed at https://github.com/react-native-mapbox-gl/maps/pull/224

@arnaudambro, @henninghall can you agree on the correct solution?! Was one of you using yarn the other npm?!

@henninghall
Copy link
Contributor Author

Tried both yarn and npm and both creates an env.json file for me.

@frankrowe
Copy link
Contributor

This PR is correct. You make a file called accesstoken with the token inside it.

@mfazekas
Copy link
Contributor

mfazekas commented Aug 9, 2019

@henninghall what do you think about adding a small note that accesstoken is processed in postinstall, so one needs to run npm install after adding/changing accesstoken.

Add note in example readme to explain that you need to run npm install after chaning accesstoken file
@mfazekas mfazekas merged commit 21838e0 into master Aug 10, 2019
@ferdicus ferdicus deleted the update-example-readme branch March 12, 2021 12:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants