https://github.com/davbree/nervous-dolphin
Jamstack site created with Stackbit
https://github.com/davbree/nervous-dolphin
gatsby headless jamstack sanity ssg stackbit static
Last synced: 2 months ago
JSON representation
Jamstack site created with Stackbit
- Host: GitHub
- URL: https://github.com/davbree/nervous-dolphin
- Owner: davbree
- License: other
- Created: 2020-12-06T10:20:49.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2020-12-06T10:20:58.000Z (over 5 years ago)
- Last Synced: 2025-06-03T14:26:37.125Z (about 1 year ago)
- Topics: gatsby, headless, jamstack, sanity, ssg, stackbit, static
- Language: JavaScript
- Homepage: https://jamstack.new
- Size: 1.66 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
README
# Stackbit Starter Theme
This site was generated by [www.stackbit.com](https://www.stackbit.com), v0.3.21.
The content of this site is managed by Sanity.io. Visit https://nervous-dolphin-cb06e.sanity.studio/ to manage site content
# Running Your Site Locally
1. Install [Node.js and npm](https://nodejs.org/en/)
1. Install npm dependencies:
npm install
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://2fbf0c2fad8c.ngrok.io/pull/5fccb06e90c98193d0a4ca56
1. [Optional] 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.
1. Start a local development server:
npm run develop
1. Browse to [http://localhost:8000/](http://localhost:8000/)