The main Gatsby site at gatsbyjs.org
Run locally with:
yarn install
gatsby develop
See the full contributing instructions at https://www.gatsbyjs.org/docs/how-to-contribute/.
To develop on the starter showcase, you'll need to supply a GitHub personal access token.
- Create a personal access token in your GitHub Developer settings.
- In the new token's settings, grant that token the "public_repo" scope.
- Create a file in the root of
www
called.env.development
, and add the token to that file like so:
GITHUB_API_TOKEN=YOUR_TOKEN_HERE
The .env.development
file is ignored by git. Your token should never be committed.
If you are not working on starter or site showcase, it might be beneficial to use a placeholder image instead of actual screenshots. It will skip downloading screenshots and generating responsive images for all screenshots and replace them with a placeholder image. Check gatsby-transformer-screenshot
docs to learn how to use it.