This is a Next.js project bootstrapped with create-next-app
.
The theme is inspired by this Vercel NextJS template.
Ensure node
and npm
are installed first:
npm install
npm run dev # runs dev server on localhost:3000
This project is built and deployed to my gke
cluster.
This repo uses commitlint
to enforce conventional commits - husky
will automatically install git
hooks upon npm install
. To trigger a new release, the commit must be one of fix:
or feat:
. @semantic-release
will increment the version and tag the repo as appropriate.
On successful release, staging
is automatically updated - the ArgoCD controller will deploy the new version.
To update production
, update the newTag
field manually.
pages/*
- static pages (e.g.index.tsx
correspondspauljs.io/
)components/*
- reusable componentspublic/*
- static assets such as images and fontsstories/*
- storybook component storiesDockerfile
- image built and deployed here
Storybook is included, and will be used to build/test components in isolation. Run npm run storybook
to view the storybook dev server @ localhost:6006
.