Image for building (my) courses, which are written with Jekyll - static site generator.
2.9K
Image for building my courses, which are written with Jekyll - static site generator.
For generating is used pandoc instead of built in kramdown and won theme nucky is also builtin in the image.
Create an alias, which will make things easies:
alias leanpub='docker container run --rm -it \
--volume $(pwd):/courseware \
--publish 4000:4000 \
--user $(id -u ${USER}):$(id -g ${USER}) \
bletvaska/leanpub'
So then usage is simple:
$ leanpub usage
To build and auto-rebuild the changed content, you just need to run following code from inside of your courseware directory:
$ leanpub build
$ leanpub clean
$ leanpub serve
Content type
Image
Digest
sha256:ec3b62362…
Size
124.8 MB
Last updated
about 7 hours ago
docker pull bletvaska/leanpub