Skip to content

jdigger/docker-jbake

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 

Repository files navigation

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.

About

Docker image for using jbake

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published