This project is my personal portfolio web site.
It is curently running live at niall.design or niallains.github.io/personal-site/dist.
Install Git
Install Node and NVM
Download code and install dev packages using Node v22:
git clone https://github.com/NiallAins/personal-site.git;
cd personal-site;
nvm use 22;
npm ci;
npm run dev
This will auto-convert _vars.scss to consts.scss.ts, build scripts, styles, and template files to ./dist, then repeat on file change.
Open ./dist/index.html in browser to see changes running.
VSCode extension “Live Server” can be used to auto-refresh browser on file change.
The base URLs for both development and production are set in ./build-scripts/base-url.js
data/projects.tsthumbnails as project-title-kebab-case.pngnpm run prep-images to update production image sizesCommit and push all changes to non-production branch in GitHub:
npm run push "Commit message"
npm run push-reploy "Commit message"
This will push all changes to non-production branch, then copy branch main to prod, build scripts and templates in production mode, then push to Git where changes will be reflected on GitHub Pages site.