go-bouquins/README.md

38 lines
655 B
Markdown
Raw Normal View History

2017-07-30 18:15:54 +00:00
# go-bouquins
2017-08-04 18:13:39 +00:00
Bouquins in Go
## TODO
* translations
* tests
* auth downloads
* csrf
2017-09-05 15:35:10 +00:00
## Minify JS
https://www.danstools.com/javascript-minify/
2017-09-06 10:36:28 +00:00
## 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 <calibre-path>/metadata.db)
* bind-address HTTP socket bind address
* prod (boolean) use minified javascript/CSS