Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/jdigger/docker-jbake
Docker image for using jbake
https://github.com/jdigger/docker-jbake
Last synced: 30 days ago
JSON representation
Docker image for using jbake
- Host: GitHub
- URL: https://github.com/jdigger/docker-jbake
- Owner: jdigger
- Created: 2016-02-19T23:45:23.000Z (almost 9 years ago)
- Default Branch: master
- Last Pushed: 2016-02-20T00:29:11.000Z (almost 9 years ago)
- Last Synced: 2024-11-13T21:55:44.801Z (3 months ago)
- Size: 0 Bytes
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.adoc
Awesome Lists containing this project
README
= 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):
+
[source,bash]
----
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:
+
[source,bash]
----
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.