If you don't have Gatsby yet
yarn global add gatsby-cli
Install the dependencies
yarn install
yarn develop
: Gatsby will start a hot-reloading development environment accessible at localhost:8000yarn build
: Gatsby will perform an optimized production build for your site generating static HTML and per-route JavaScript code bundles.yarn serve
: Gatsby starts a local HTML server for testing your built site.