Install necessary dependencies.
yarn install
Navigate to the project directory to run the project.
yarn start
If encountering Error: error:0308010C:digital envelope routines::unsupported
, you may need to downgrade to Node.js v16 per
this StackOverflow article.
After enabling the legacy OpenSSL provider per the instructions, try starting the project again. If it runs without issue, navigate to http://localhost:3000 to view.
This website is deployed using GitHub Pages. Before running the commands below, make sure git is tracking the correct branch that is to be deployed. Avoid touching the gh-pages branch - it automatically updates with build files when finishing the deployment process.
First build the project.
npm run predeploy
OR npm run build
Then deploy the build to github pages.
npm run deploy
OR gh-pages -d build
If using a custom domain, GitHub pages will reset the host URL upon each deployment. This will default to a github.io website.
To set up the custom domain, navigate to the Settings tab of the repo, then click Pages on the left hand drop down menu. At the bottom of this screen, fill in the custom domain name and click Save. After a few minutes, the new build will be live at that domain.