Table of Contents 
Currently working on integrating a chess game into the site.
To get your own portfolio up and running follow these steps.
-
Install NodeJS
-
Install NPM & Yarn
npm install npm@latest -g
npm install --global yarn
-
Install gh-pages
npm install gh-pages --save-dev
-
Probably some other things I forgot along the way 😉
-
Clone the repo
git clone https://github.com/zarns/portfolio.git
-
Setup yarn environment
yarn add next
yarn install
-
Run locally on
port 3000
yarn dev
- Open http://localhost:3000/ in browser
- Edit a file and save. Watch changes deploy locally in seconds. Start with
src/data/data.tsx
-
Github Actions
- Upon pushing to the main branch, the script:
.github/workflows/nextjs.yml
will automatically run in Github Actions (you can check progress in the Actions section of your repo) This should automatically install dependencies, build the project, and deploy the server! 😇 - Check in your Github Pages settings that the app is being deployed from the main branch and root directory.
- Github Pages provides a domain. If you want to use a custom domain: using-custom-domains-for-react-apps-deployed-to-github-pages
- Upon pushing to the main branch, the script:
I went into this project with limited frontend experience and followed a number of tutorials before feeling comfortable enough to pull ideas from different places. Major thanks to these resources: