My personal website, available at www.dannyochoa.net.
Built using NextJS, TypeScript, and tailwind.
After initial download you'll want to run npm install to install all dependencies locally. These will be available in the node_modules directory.
Use the following scripts during development:
- Run
npm run devto start a local instance of the web application onlocalhost:3000. - Run
npm run testto run the entire test suite. - Run
npm run lintto run the linter.- The linter uses prettier for code formatting
Several Github Action Workflows are set up that affect development:
- test.yml runs
npm run teston commit and merges are blocked on failing tests. - lint.yml runs
npm run linton commit and merges are blocked when formatting is off.
This website is hosted using Github Pages.
The nextjs.yml workflow triggers a deployment when changes are merged into main. The status of this action and others are visible in the Actions tab of the repo.
If you experience issues that might be related to cached files (e.g. styling or other content representing previous changes) then try the following:
- Delete your local
node_modulesand.nextdirectories:rm -rf node_modules .next - Reinstall:
npm install - Re-run:
npm run dev