An open API service indexing awesome lists of open source software.

https://github.com/remotesynth/sanity-example


https://github.com/remotesynth/sanity-example

Last synced: about 1 year ago
JSON representation

Awesome Lists containing this project

README

          

# Stackbit Azimuth Theme

This site was generated by [www.stackbit.com](https://www.stackbit.com), v0.2.80.

Stackbit Azimuth Theme original README is located [here](./README.theme.md).

The content of this site is managed by Sanity.io. Visit https://sanity-example-5e16d.sanity.studio/ to manage site content

# Running Your Site Locally

1. [Install Hugo](https://gohugo.io/getting-started/quick-start/#step-1-install-hugo)

1. get "netlify-api-key" from project menu in [Stackbit dashboard](https://app.stackbit.com/dashboard)

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

export STACKBIT_API_KEY={stackbit_netlify_api_key}

1. run the following command to fetch site contents from Sanity:

npx @stackbit/stackbit-pull --stackbit-pull-api-url=https://api.stackbit.com/pull/5dc5e16d5dfeba0019eff449

1. [Optional] Running Sanity Studio locally: install sanity-cli `npm install -g sanity-cli` and run `sanity start` inside the `/studio` directory

1. Build the site and start the Hugo server with drafts enabled

hugo server -D

1. Browse to [http://localhost:1313/](http://localhost:1313/)