From b6a63f45567518f014fe6e7043341042c304780e Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Tue, 28 Mar 2017 13:44:00 +0300 Subject: add basic installation info --- README.md | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) (limited to 'README.md') diff --git a/README.md b/README.md index c2f906e..e7ffe15 100644 --- a/README.md +++ b/README.md @@ -10,6 +10,22 @@ web EPUB reader using EPUB.js, Bootstrap, and Calibre. * supports word definition lookups using dictd * supports Chrome homescreen "app mode" +Installation +============ + +1. Initialize scratch.db + +
sqlite3 db/scratch.db < schema.sql
+ +2. Ensure both scratch.db and its containing folder (i.e. db/) are writable by the +application, normally this means chown-ing them as www-data or whatever user your httpd is running under. + +
chown www-data db/ db/sratch.db
+ +3. Copy config.php-dist to config.php and edit path to Calibre, etc. + +4. Setup HTTP Basic authentication for epube directories. This is required, even if you're the only user. + Discussion ========== -- cgit v1.2.3