See: johnange.com.
Tested with: node >= v12 and optional nvm for managing node versions.
To download the repository and install dependencies, run the following commands:
git clone git://github.com/jakernodle/resume-site.git
cd resume-site
nvm install # this is optional - make sure you're running >= node 12 with `node --version`
npm install
Run the following command to build the react application and serve it with fast refresh:
npm start
Your web browser should automatically open to <ip>:<port>:<path>
default: http://localhost:3000/.
- Modify the environmental variables and git remote url in
.github/workflows/github-pages.yml
. - Modify
homepage
inpackage.json
to point to where you plan to host your site. If you do not plan on using a custom domain name, it should look likehttps://[your-gh-username].github.io/[repository-name - default:resume-site]/
- If you plan on using a custom domain, modify
public/CNAME
. If you don't, deletepublic/CNAME
. - Use a popular favicon generator like Real Favicon Generator to make your own favicon and update the files in
resume-site/public/images/favicon
- If you plan to use a reCAPTCHA for your contact page as well, generate your own keys here and add the site key to the ReCAPTCHA element in
resume-site/src/pages/Contact.js
. To test your reCAPTCHA locally, add 'localhost' as one of your site domains.
Make a commit to main
and push your changes. That's it.
To statically export the site without deploying to github pages, delete or disable .github/workflows/github-pages.yml
and run npm run predeploy
. This generates a static export of the website as resume-site/build/
. Copy this and self-host or deploy to a CDN.
- Template adapted from mldangelo's personal-site