This is the code to my website, itstom.co. It is a personal project to showcase my web development skills.
# install gatsby's command line tool
$ npm install --global gatsby-cli
# install dependencies
$ yarn install
# serve with hot reload at localhost:8000
$ gatsby develop
# build for production at localhost:9000
$ gatsby build
$ gatsby server
For detailed explanation on the gatsby cli, check out the Gatsby docs.
Run lint checks with yarn
# run lint checks
$ yarn lint
# automatically fix fixable lint issues
$ yarn lint:fix
# run sass lint checks
$ yarn lint:sass
Run tests with yarn.
# run test
$ yarn test
# run test coverage
$ yarn test:coverage
Deploy using the deploy script.
# deploy
$ yarn deploy