Welcome to my personal website! This is an MIT licensed React-based application. It offers a simple interface, easy modifications, static export capabilities and automatic deployments via GitHub Pages.
Ensure you have node >= v21 Optionally, use volta to manage node versions.
Clone the repository:
git clone https://api.github.com/repos/shaynem/shaynem.github.io
cd shaynem.github.io
(Optional) Ensure youβre on Node v16 or higher:
volta install node@21
node --version
Install dependencies:
yarn install
Start the application:
yarn start
By default, the application should be available at http://localhost:3000/.
.github/workflows/github-pages.yml
.homepage
value in package.json
based on your hosting preferences.public/CNAME
. Otherwise, remove it.After initial commit to main
, simply push your changes, and the deployment will be deployed by github actions automatically.
For a static export without deploying to GitHub Pages:
.github/workflows/github-pages.yml
.Execute:
yarn predeploy
This will generate a static version in shaynem.github.io/build/
which you can host or deploy to a CDN.