Skip to content

sangria-graphql/sangria-graphql.github.io

Repository files navigation

The website for the https://sangria-graphql.github.io

Prerequisites

  • install Ruby
  • install Bundler
    gem install bundler
    
  • install local dependencies
    bundle install
    

Local development

Start local server with:

bundle exec jekyll serve --watch

or with docker:

docker compose up

# to force the rebuild of the docker image
docker compose up --build

And then point browser to http://localhost:4000. This will also automatically pickup all changes you make.

Build for GitHub Pages

bundle exec jekyll b -d docs
docker build -t sangria-doc .
docker run --rm --volume=$(pwd):/src sangria-doc exec jekyll b -d docs

The files in /doc is used by Github. You have to push the changes manually for now.