toboid.com

Blog site built with Jekyll and Chalk

Development

Build image:

docker build --rm -t toboid.com .

Start a container at the command line:

docker run --rm -i -t -p 4000:4000 -v "$PWD":/app --name toboid.com_c toboid.com /bin/bash

Run Jekyll:

bundle exec jekyll serve --host 0.0.0.0

Run container as site:

docker run --rm -i -t -p 4000:4000 -v "$PWD":/app --name toboid.com_c toboid.com bundle exec jekyll serve --host 0.0.0.0

or

docker-compose up

Deploy to GitHub Pages

Run this in the root project folder in your console:

bin/deploy

You can find more info on how to use the gh-pages branch and a custom domain here.

View this for more info about automated deployment with Circle CI.