The second iteration of my personal website built with Gatsby and hosted with Github Pages
Previous versions: v1
-
Install the Gatsby CLI
npm install -g gatsby-cli
-
Install and use the correct version of Node using NVM
nvm install
-
Install dependencies
yarn
-
Start the development server
npm start
Generate a full static production build
npm run build
Preview the site as it will appear once deployed
npm run serve
Deploy to a separate branch for Github pages
npm run deploy
For more information on how to host your website for free using github pages see the Quickstart or Docs.
This is a heavily modified version of Brittany Chiang's v4 website, therefore you are more than welcome to copy and use any of the code with attribution by linking back to her original website brittanychiang.com.
If you have questions about implementation, please refer to the Gatsby docs.