Portfolio site for Matthew Anderson — leader, designer, podcaster, and Canadian expat.
The site is built and deployed via Parcel to GitHub Pages. You will need Homebrew, Node, and Parcel installed.
$ /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
$ brew install node
This will install Parcel and all development Node modules. Make sure you run this command from the project root.
$ npm install
The start
task will automatically rebuild your app, and serve it at http://localhost:1234/ with live reload. All development should be done in the src
directory.
$ npm run start
If you run into issues while developing locally, the clean
task will delete the Parcel cache and your current dist
directory — providing you with a clean slate for your next build.
$npm run clean
If you ever want to bump the dependencies for the project, you can do so using Check Updates.
$ npm install -g npm-check-updates
$ ncu -u
$ npm install
The deploy
task will automatically rebuild your app, copy the local dist
folder to the gh-pages
branch as a subtree, and push it to GitHub.
$ npm run deploy