From 73ba1f81c702276d2d090f2b4e3323c4c2fec4f5 Mon Sep 17 00:00:00 2001 From: Meutel Date: Wed, 6 Sep 2017 12:36:28 +0200 Subject: [PATCH] Doc deployment --- README.md | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) diff --git a/README.md b/README.md index 65330c9..f8ed5d6 100644 --- a/README.md +++ b/README.md @@ -12,3 +12,26 @@ Bouquins in Go ## Minify JS https://www.danstools.com/javascript-minify/ + +## Deployment archive + +tar czf ~/tmp/go-bouquins.tar.gz go-bouquins assets/ templates/ + +## Configuration + +JSON config file: default ./bouquins.json, or binary argument + +Example: + + { + "calibre-path": "/usr/home/meutel/data/calibre", + "bind-address": ":8080", + "prod": true + } + +Options: + +* calibre-path path to calibre data +* db-path path to calibre SQLite database (default /metadata.db) +* bind-address HTTP socket bind address +* prod (boolean) use minified javascript/CSS