Skip to content

Latest commit

 

History

History
39 lines (27 loc) · 605 Bytes

setup.md

File metadata and controls

39 lines (27 loc) · 605 Bytes

Setup

Prerequisites

  • Node.js 18+
  • npm 9+

Environment variables

Copy .env.example to .env.local.

Variable Required Purpose
NEXT_PUBLIC_SITE_URL Yes Canonical URL for metadata/social tags
NEXT_PUBLIC_GA_ID Optional Google Analytics tracking
NEXT_PUBLIC_FB_PIXEL_ID Optional Facebook Pixel tracking

Install and run

npm install
npm run dev

Build and validate

npm run build
npm run typecheck
npm run lint

Deploy

vercel --prod

Ensure production env vars are configured before deployment.