This application requires Node.js v18.15+.
- Framework: Next.js
- Styling: Tailwind CSS
- Animation: Framer Motion
- Static Content: MDX & Content Layer
First, install the npm dependencies:
pnpm installNext, create a new .env file by copying .env.example:
cp .env.example .env.localNext, run the development server:
pnpm devFinally, open http://localhost:3000 in your browser to view the website.
-
pnpm dev- Runs the development server
-
pnpm run dev:clear-cache- Rebuilds the
.nextand.contentlayerfolders before running the development server. This is required in order to see styling changes when editing the blog markdown file:ctrl-markdown-theme.json.
- Rebuilds the
-
pnpm run build- Creates a production build
-
pnpm run start- Runs a local copy of the production build on http://localhost:3000
-
pnpm run lint- Checks styling throughout codebase
