dev-to-to-not-dev-to

dev-to-to-not-dev-to

Test blog built with Stackbit using Jekyll and Netlify (forms and functions)

Stackbit Ampersand Theme

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

Stackbit Ampersand Theme original README is located here.

The content of this site is managed by NetlifyCMS. Visit https://{yoursite-domain}/admin to manage site content.

Running Your Site Locally

  1. Install a full Ruby development environment

  2. Install Jekyll and Bundler

     gem install jekyll bundler
    
  3. Install dependencies from Gemfile:

     bundle install
    
  4. get "stackbit-api-key" from project menu in Stackbit dashboard

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

     export STACKBIT_API_KEY={stackbit_netlify_api_key}
    
  6. 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/5e177b5d8f8f7a0019224176
    
  7. Build the site and make it available on a local server

     bundle exec jekyll serve
    
  8. Browse to http://localhost:4000