The new Visual Data Science Lab Website built with Jekyll, SASS, Bourbon, Neat, and Bitters.
The site is built by Github using Jekyll.
To preview locally, use the github-pages
gem. Briefly:
# Ruby version must be >= 2.0.0.
ruby --version
# Install bundler for dependency management:
gem install bundler
# Fetch dependencies:
bundle install
# Start server:
bundle exec jekyll serve --baseurl ""
# Get the most recent version of 'github-pages' gem:
bundle update
You can use docker to build and run the site without having to install ruby and stuff. This will also watch for file changes and rebuild the site automatically.
Page will be served at localhost:4000
docker-compose up
To simply build the page, run
docker run --rm --volume="$PWD:/srv/jekyll" -it jekyll/jekyll:latest jekyll build
The only supported plugins are those that come with the github-pages gem.