Skip to content

sanfordev/studio

Repository files navigation

SANFORDEV Studio

This is a Sanity Studio project for the SANFORDEV blog built with Next.js 14 and deployed on Netlify.

Setup

Clone the repository:

git clone git@github.com:sanfordev/studio.git
cd studio

Development

First, set up your environment variables:

cp env-example.md .env.local

Then install dependencies and run the development server:

npm install
npm run dev

Open http://localhost:3333 to access the Sanity Studio.

Environment Variables Required

  • NEXT_PUBLIC_SANITY_PROJECT_ID: Your Sanity project ID
  • NEXT_PUBLIC_SANITY_DATASET: Your Sanity dataset (usually "production")
  • NEXT_PUBLIC_SANITY_API_TOKEN: Public token for client-side queries
  • SANITY_STUDIO_API_TOKEN: Private token for Studio authentication

Deployment

This project is configured for Netlify deployment. The netlify.toml file contains all necessary configuration.

To deploy:

  1. Connect your repository to Netlify
  2. Set up the required environment variables in Netlify's dashboard
  3. Deploy using the main branch

The studio will be available at: https://your-site.netlify.app/studio

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published