Skip to content

Latest commit

 

History

History
29 lines (15 loc) · 1.17 KB

README.md

File metadata and controls

29 lines (15 loc) · 1.17 KB

Gitpod ready-to-code

Stackbit Fresh Theme

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

Stackbit Fresh Theme original README is located here.

The content of this site is managed by Forestry. Visit https://forestry.io to manage site content.

Running Your Site Locally

  1. Install Hugo

  2. get "stackbit-api-key" from project menu in Stackbit dashboard

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

     export STACKBIT_API_KEY={stackbit_netlify_api_key}
    
  4. run the following command to fetch additional site contents from Stackbit if needed:

     npx @stackbit/stackbit-pull --stackbit-pull-api-url=https://api.stackbit.com/pull/5e07cd0b0f76b4001b9f58de
    
  5. Build the site and start the Hugo server with drafts enabled

     hugo server -D
    
  6. Browse to http://localhost:1313/