Use your package manager or npm to install gatsby-cli:
$ npm install -g gatsby-cli
Then install all the dependencies:
$ npm install
This project requires two environment variables to work properly:
GITHUB_TOKEN
A personal Github token you can create in your Github settings. This is used to fetch the various public repositories on our Github organization page.YOUTUBE_TOKEN
An API key for the YouTube API. This is used to fetch the latest videos from our YouTube channel.
Once all the dependencies have been installed and the environment variables set, you can run gatsby in dev mode:
$ gatsby develop
This will ensure the page is reloaded and the bundles recompiled with every change without having to restart Gatsby.
The develop
branch gets merged every day into the master
branch,
effectively redeploying the site and fetching the new data.
Both these branches are protected. To make changes to the site, a new
branch must be created and merged into develop
.