Skip to content

HarrisJT/harrisjt.com

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

HarrisJT.com

Netlify Status

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.

Project structure

For a basic overview of the project structure, please refer to the Gatsby documentation.

Installation

To run this project, you will need Git and Node.

Initial setup

  1. git clone https://github.com/HarrisJT/harrisjt.com.git to clone this repository
  2. npm i to install dependencies

Run project locally (for development)

  1. npm run dev to start the hot-reloading development server (powered by Gatsby)
  2. Navigate to localhost:8000 in your preferred browser

Build the project (for production)

  1. npm run build to generate an optimized production build
  2. gatsby serve to start a local server for the built site

Contribution Guidelines

Create a branch

  1. git checkout master from any folder in your local harrisjt.com repository
  2. git pull origin master to ensure you have the latest code from harrisjt's repository
  3. git checkout -b BRANCH-NAME (replacing BRANCH-NAME with a suitable name) to create a branch

Make the change

  1. Follow the "Run project locally" instructions
  2. If visual changes were made, please try to test them in multiple browsers and on mobile
  3. Run npm run format from the project root to lint and format

Push it

  1. git add -A && git commit -m "MESSAGE-HERE" (replacing MESSAGE-HERE with a short description of your change)
  2. git push origin BRANCH-NAME to push your changes to the main repository
  3. Visit the harrisjt.com repo and follow GitHub's instructions

Troubleshooting

  • npm run purge to delete the previously generated gatsby build files
  • Reinstall the dependencies by deleting the node_modules folder and running npm i