Skip to content

Latest commit

 

History

History
25 lines (13 loc) · 913 Bytes

README.md

File metadata and controls

25 lines (13 loc) · 913 Bytes

Stackbit Fresh Theme

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

Stackbit Fresh Theme original README is located here.

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/5e2b59ca2600e0001a0bf6f5
    
  5. Build the site and start the Hugo server with drafts enabled

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