Skip to content

jessehattabaugh/jessehattabaugh-com

Repository files navigation

jessehattabaugh-com

Personal website of Jesse Hattabaugh https://www.jessehattabaugh.com

Installation

After cloning this repo use nvm to install nodejs by running nvm use. Then run npm install.

Development

To start the local development server run npm start then open http://localhost:3333 in a browser.

Deployment

DNS for jessehattabaugh.com is Route 53.

AWS is configured according to the architect instructions to deploy to AWS with CloudFront. The one change was that I enabled http3.

Staging

To deploy staging run npm run stage.

Production

To deploy production run npm run prod.

Tests

Tests run against the deployed staging environment. Be sure to run npm run stage before running tests.

To run the playwright tests run npm test.

To record new tests run npm run test:codegen.

To run the tests in the playwright ui run npm run test:ui.

To update the snapshots after making changes run npm run test:update.