- Check out https://github.com/hasura/gatsby-gitbook-starter
- Create a public repo on githut (knowledgebase-test)
- Check out knowledgebase-test
- git checkout -b master
- copy gatsby-gitbook-starter files on to knowledgebase-test
- push master to remote
- update package.json run scripts with :
"deploy": "gatsby build --prefix-paths && gh-pages -d public"
- install gh-pages npm package :
npm i gh-pages
- add .gitignore file and add the following to it
- node_modules