https://github.com/remotesynth/sanity-example
https://github.com/remotesynth/sanity-example
Last synced: about 1 year ago
JSON representation
- Host: GitHub
- URL: https://github.com/remotesynth/sanity-example
- Owner: remotesynth
- License: other
- Created: 2019-11-08T21:44:46.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2020-01-07T20:29:23.000Z (over 6 years ago)
- Last Synced: 2025-02-13T23:18:13.990Z (over 1 year ago)
- Language: JavaScript
- Size: 2.81 MB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
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/)