Merge remote-tracking branch 'origin/master'

This commit is contained in:
Michael Reutter 2016-02-29 17:19:02 +01:00
commit 8542877194
4 changed files with 20 additions and 3 deletions

2
.gitignore vendored
View file

@ -8,3 +8,5 @@ pom.xml.asc
/.lein-* /.lein-*
/.nrepl-port /.nrepl-port
/.project /.project
/public/index.html
/public/book-covers/

6
Dockerfile Normal file
View file

@ -0,0 +1,6 @@
FROM java:7
ADD buchdesmonats-1.3.jar /buchdesmonats/
WORKDIR /buchdesmonats
CMD ["java", "-jar", "buchdesmonats-1.3.jar"]

View file

@ -3,8 +3,17 @@
Scrape the book list from the "Book of the month" project and generate a nice Scrape the book list from the "Book of the month" project and generate a nice
looking visual representation of the book covers. looking visual representation of the book covers.
# Running # Building
lein uberjar lein uberjar
java -jar target/buchdesmonats-1.1-standalone.jar java -jar target/buchdesmonats-1.3-standalone.jar
cp target/buchdesmonats-1.3-standalone.jar buchdesmonats-1.3.jar
docker build -t buchdesmonats .
# Running
Run this periodically:
docker run --rm -v "$PWD/public:/buchdesmonats/public/" buchdesmonats

View file

@ -1,4 +1,4 @@
;;; Copyright (C) 2014-2015 Aaron Fischer <mail@aaron-fischer.net> ;;; Copyright (C) 2014-2016 Aaron Fischer <mail@aaron-fischer.net>
;;; ;;;
;;; Permission is hereby granted, free of charge, to any person obtaining a copy of ;;; Permission is hereby granted, free of charge, to any person obtaining a copy of
;;; this software and associated documentation files (the "Software"), to deal in ;;; this software and associated documentation files (the "Software"), to deal in