Personal website/portfolio of Brandon Gray, inspired by old.alexxie.ca.
Powered by React and GatsbyJS.
Follows Airbnb and Prettier coding style.
Tests written with Jest + Enzyme/React Test Renderer.
Continuous integration through TravisCI.
Deploys from Netlify.
Check it out here!
- Use
git clone
to clone this repository. Alternatively, download the source code. - Make sure required dependencies have been installed using
npm install
.
- Execute:
gatsby develop
to view site in development mode with hot reloading enabled.npm run test
to run tests and generate code coverage results.npm run test:update
to run tests and update snapshots if necessary.npm run lint
to run ESLint and check for improper code.npm run prettier
to format files in accordance with Prettier.npm run prettier:check
to see if Prettier style is being followed.
- All tests live in the
/test
directory. All source code can be found in the/src
directory. The/static
folder holds resources like images and documents used on the website.
- Run
gatsby build
to generate a production optimized build. Files and artifacts will be stored in the/static
directory. - Run
gatsby serve
for a local production version of the site.