Run on local dev (default: http://localhost:7999):
cd personal_website
npm install
cp sample.env .env
- In .env, change
NODE_ENV=production
toNODE_ENV=development
npm lint_start
cd personal_website
npm install
cp sample.env .env
- In .env, change
NODE_ENV=development
toNODE_ENV=production
- Push to github repo as a commit (github-pages.yml is config for github workflow to deploy to github pages)
- OR
npm run deploy
npm run format
npm run lint
npm run lint_fix
- node >= 16
- Recommend nvm for managing node versions
- Website runs on https://piyushdatta.com/personal_website/
- CNAME: https://piyushdatta.com
- Github pages: https://piyushdatta.github.io/
- Built with React, React-Router, Express, and Webpack