This repository contains the source code powering harrisjt.com, the personal webpage of Harris J. Thompson. The website features mostly software project case studies and blog posts on various topics.
Built with React, powered by Gatsby, served on Netlify.
For a basic overview of the project structure, please refer to the Gatsby documentation.
To run this project, you will need Git and Node.
git clone https://github.com/HarrisJT/harrisjt.com.gitto clone this repositorynpm ito install dependencies
npm run devto start the hot-reloading development server (powered by Gatsby)- Navigate to
localhost:8000in your preferred browser
npm run buildto generate an optimized production buildgatsby serveto start a local server for the built site
git checkout masterfrom any folder in your localharrisjt.comrepositorygit pull origin masterto ensure you have the latest code from harrisjt's repositorygit checkout -b BRANCH-NAME(replacingBRANCH-NAMEwith a suitable name) to create a branch
- Follow the "Run project locally" instructions
- If visual changes were made, please try to test them in multiple browsers and on mobile
- Run
npm run formatfrom the project root to lint and format
git add -A && git commit -m "MESSAGE-HERE"(replacingMESSAGE-HEREwith a short description of your change)git push origin BRANCH-NAMEto push your changes to the main repository- Visit the harrisjt.com repo and follow GitHub's instructions
npm run purgeto delete the previously generated gatsby build files- Reinstall the dependencies by deleting the
node_modulesfolder and runningnpm i