Skip to content

earthflex/earthflex.dev

Repository files navigation

My personal website

Link : https://earthflex.dev

Tect Stack

  1. React Next.js
  2. Tailwind CSS
  3. Radix-UI
  4. Framer Motion : Animation
  5. Sanity : CMS
  6. Vercel : Deploy

Configuration

Step 1. Set up the project locally

Read more : Clone the repository my CMS

Step 2. Set up the environment

This will create a git-ignored .env.local file with environment variables that will be used for local development. see example .env.local.example

Add your projectId & dataset

   NEXT_PUBLIC_SANITY_PROJECT_ID 
   NEXT_PUBLIC_SANITY_DATASET 
   NEXT_PUBLIC_SANITY_API_VERSION 

Step 3. Run Sanity locally in development mode

npm install

npm run dev
# or
yarn dev
# or
pnpm dev