Skip to content

kodehode/sjur-blog

Repository files navigation

Getting Started

  1. create .env.local file in root folder with values of:
SANITY_DATASET_NAME=YOUR_DATASET_NAME // from sanity dashboard
SANITY_PROJECT_ID=YOUR_PROJECT_ID // from sanity dashboard
SANITY_PREVIEW_SECRET=YOUR_PREVIEW_SECRET // unique string
SANITY_API_TOKEN=YOUR_API_TOKEN // from sanity dashboard
  1. Run the development server:
npm run dev
# or
yarn dev

Open http://localhost:3000 with your browser to see the result.