Skip to content

joaopalmeiro/joao.town

Repository files navigation

joao.town

My personal website.

Development

Install fnm, Rancher Desktop, and Vale (if necessary).

fnm install && fnm use && node --version && npm --version
npm install
npm run dev
npm run format
npm run lint
docker run -p 3000:3000 --rm --init -it --workdir /home/pwuser --user pwuser mcr.microsoft.com/playwright:v1.57.0-noble /bin/sh -c "npx -y playwright@1.57.0 run-server --port 3000 --host 0.0.0.0"
npm run test

Tools

npx lighthouse https://joao.town/ --preset desktop --output html --output-path ./report.html
npx lighthouse https://joao.town/ --output html --output-path ./report.html
open report.html

Deployment

npm run build
npm run deploy

Get a Cloudflare token

  • Manage account > Account API tokens > Create token
  • Permission policies > Developer Services
  • Token expiration > 30 days
  • Client IP address filtering > Enter an IP address or CIDR range... > Use your IP address...
  • Review token

About

My personal website.

Resources

License

Stars

Watchers

Forks

Contributors