Public | Automated Build

Last pushed: 2 years ago
Short Description
Docker enabled JBake based blogging
Full Description

= docker-jbake

Docker enabled JBake based blogging

== How to use

  • Create a local blog directory (e.g. +Documents/Blog/input+ and +Documents/Blog/output+).

  • Initialize the blog input directory (w/ thymeleaf templating in this example):

docker run -t -i --rm -v ~/Documents/Blog:/mnt/blog jbake bash -c 'cd /mnt/blog/input && /opt/jbake/bin/jbake --i thymeleaf'

  • Make you modifications to the input (content, templates etc).

  • Bake your blog with JBake:

docker run -t -i --rm -v ~/Documents/Blog:/mnt/blog jbake /opt/jbake/bin/jbake /mnt/blog/input /mnt/blog/output

  • Enjoy your blog in the blog output directory.
Docker Pull Command
Source Repository