Skip to content

chrisfior/demo-functionalities

Repository files navigation

✨ demo-functionalities ✨

This is a Next.js site using Sanity as a CMS. It was created with Stackbit in under a minute.

You can create a site just like this one, or explore some variations. How about a different:

🎨  Look
✏️  CMS
⚙️  Static site generator

Develop Locally

  1. Install Node.js and npm

  2. Install npm dependencies:

     npm install
    
  3. Navigate to the "API Settings" page of this Sanity.io project. Then click "Add new token" and create new "write" token.

  4. Assign the created token to the SANITY_ACCESS_TOKEN environment variable (replace {sanity_write_token} with the token):

     export SANITY_ACCESS_TOKEN={sanity_write_token}
    
  5. [Optional] Install and run Sanity Studio locally: install sanity-cli npm install -g @sanity/cli, navigate to the /studio directory, and run sanity install and sanity start. You may be required to login with the Sanity CLI.

  6. Start the Next.js local development server:

     npm run develop
    
  7. Open http://localhost:3000/ in the browser

  8. 🎉

Editing Content

To start editing your site, you can use the Sanity interface at https://demo-functionalities-5028c.sanity.studio/.

Alternatively, you can use the free on-page editing experience provided by the Stackbit Studio.

Here's a few resources to get you started:

If you need a hand, make sure to check the Stackbit support page.

Colophon

Generated at 2021-04-13T02:32:10.137Z by Stackbit version 0.3.50.