Go to file
2021-02-18 02:00:03 +01:00
public Generalize codebase and add more datasources. 2020-11-10 20:43:04 +01:00
src/buchdesmonats Add multi stage dockerfile and fix source URL 2021-02-18 02:00:03 +01:00
.gitignore Make source configurable (support comics and more!) 2020-11-02 10:30:12 +01:00
AUTHOR.mkd Rearrange the README files 2015-06-09 09:56:51 +02:00
BOOK.mkd update 02/2021 2021-02-05 16:18:57 +01:00
COMIC.mkd update 02/2021 2021-02-05 16:21:30 +01:00
Dockerfile Add multi stage dockerfile and fix source URL 2021-02-18 02:00:03 +01:00
INSTALL.mkd Make source configurable (support comics and more!) 2020-11-02 10:30:12 +01:00
LICENSE.mkd Rearrange the README files 2015-06-09 09:56:51 +02:00
project.clj Make source configurable (support comics and more!) 2020-11-02 10:30:12 +01:00
README.mkd Add multi stage dockerfile and fix source URL 2021-02-18 02:00:03 +01:00

Buch des Monats

This simple script generate a HTML representation of the "Book of the Month" list. This includes books and comics.

Building

$ lein uberjar

Usage

$ target/buchdesmonats-1.7-standalone.jar [book|comic]

Docker

You can use the Dockerfile to generate the static content. This is useful for a cronjob. You want to mount the target dir, so it is not lost after the container stops. The Dockerfile is a multi stage dockerfile, which first compiles the clojure files into a standalone jar file and then use it to generate the book of the month content.

$ docker build . -t bdm:1.7

Run this periodically:

$ docker run -it -v "$PWD/public:/app/public" -e "TYPE=book" bdm:1.7
$ docker run -it -v "$PWD/public:/app/public" -e "TYPE=comic" bdm:1.7

Authors