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.git
to clone this repositorynpm i
to install dependencies
npm run dev
to start the hot-reloading development server (powered by Gatsby)- Navigate to
localhost:8000
in your preferred browser
npm run build
to generate an optimized production buildgatsby serve
to start a local server for the built site
git checkout master
from any folder in your localharrisjt.com
repositorygit pull origin master
to ensure you have the latest code from harrisjt's repositorygit checkout -b BRANCH-NAME
(replacingBRANCH-NAME
with 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 format
from the project root to lint and format
git add -A && git commit -m "MESSAGE-HERE"
(replacingMESSAGE-HERE
with a short description of your change)git push origin BRANCH-NAME
to push your changes to the main repository- Visit the harrisjt.com repo and follow GitHub's instructions
npm run purge
to delete the previously generated gatsby build files- Reinstall the dependencies by deleting the
node_modules
folder and runningnpm i