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

README.md and hello.js reference contentful.json #148

Open
jpalmieri opened this issue Feb 15, 2021 · 0 comments
Open

README.md and hello.js reference contentful.json #148

jpalmieri opened this issue Feb 15, 2021 · 0 comments

Comments

@jpalmieri
Copy link

jpalmieri commented Feb 15, 2021

Running npm run setup no longer saves space ID and API keys in contentful.json (it saves them in .env files).

However, the README and hello.js seem to be out of date and say that the configuration will be saved in contentful.json:

This project comes with a Contentful setup command npm run setup.

This command will ask you for a space ID, and access tokens for the Contentful Management and Delivery API and then import the needed content model into the space you define and write a config file (./.contentful.json).

https://github.com/contentful/starter-gatsby-blog/blob/23ddf494988d392553abd867a74629793eb14b15/bin/hello.js#L11-L13

Although contentful.json is still sourced, it's confusing to see .env files generated when you're expecting to instead see contentful.json file.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

1 participant