/docs.blockstack

Contains the source static site and tools for building that site from downstream repos.

Primary LanguageCSS

README for the documentation site

Building after a fork

Run locally

To run locally:

  1. Get the content from the downstream repos.

    ./get-content.sh
    
  2. Build and serve locally.

    bundle exec jekyll serve --config _config.yml,staticman.yml
    

    Use this format to turn on production features:

    JEKYLL_ENV=production bundle exec jekyll serve --config _config.yml
    

Deploy via Netlify

To deploy to Netlify:

  1. Build the site.

    JEKYLL_ENV=production bundle exec jekyll build --config _config.yml
    
  2. Force add the _site directory.

    git push -f origin
    

Test a Deploy with Surge

cd _site
surge
surge --domain raspy-songs.surge.sh

Technology Reference