Tech | Choice |
---|---|
Language | TypeScript |
CSS | Tailwind |
CI | Github Actions |
Linting | ESLint + Prettier |
Hosting | Github Pages |
yarn
Replace PRODUCTION_DOMAIN_ROOT
in next.config.js
The repository is set up to deploy on Github pages. If we want a custom domain, we must add && echo 'mydomain.com' >> out/CNAME
in predeploy
script.
yarn dev
Prettier and eslint is used for this project. New code is automatically validated on commit using a pre commit hook.
Script and github actions is set up to deploy to Github pages.
# manually deploy
yarn deploy