Skip to content

Latest commit

 

History

History
34 lines (18 loc) · 1.2 KB

README.md

File metadata and controls

34 lines (18 loc) · 1.2 KB

Stackbit Exto Theme

This site was generated by www.stackbit.com, v0.2.95.

Stackbit Exto Theme original README is located here.

The content of this site is managed by Sanity.io. Visit https://friendly-avocado-4a29d.sanity.studio/ to manage site content

Running Your Site Locally

  1. Install Node.js and npm

  2. Install npm dependencies:

     npm install
    
  3. get "netlify-api-key" from project menu in Stackbit dashboard

  4. run the following command to assign this key to STACKBIT_API_KEY environment variable:

     export STACKBIT_API_KEY={stackbit_netlify_api_key}
    
  5. run the following command to fetch site contents from Sanity:

     npx @stackbit/stackbit-pull --stackbit-pull-api-url=https://api.stackbit.com/pull/5eb4a29d44ce350019ead720
    
  6. [Optional] Running 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.

  7. Starts a development server

     npm run develop
    
  8. Browse to http://localhost:8000/