Sign inSign up

bletvaska/leanpub

By bletvaska

•Updated 10 days ago

Image for building (my) courses, which are written with Jekyll - static site generator.

Image
0

4.0K

bletvaska/leanpub repository overview

⁠Description

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.

⁠Generating the Web with Jekyll

⁠Usage

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
⁠Building the Courseware

To build and auto-rebuild the changed content, you just need to run following code from inside of your courseware directory:

$ leanpub build
⁠Cleaning the Results
$ leanpub clean
⁠Serving Course Webpage Locally
$ leanpub serve

⁠Building the ePub

⁠Building the PDF

Tag summary

Content type

Image

Digest

sha256:158c7cc54…

Size

124.8 MB

Last updated

10 days ago

docker pull bletvaska/leanpub