summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--README.md16
1 files changed, 16 insertions, 0 deletions
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
+
+ <pre>sqlite3 db/scratch.db &lt; schema.sql</pre>
+
+2. Ensure both <code>scratch.db</code> and its containing folder (i.e. <code>db/</code>) are writable by the
+application, normally this means chown-ing them as <code>www-data</code> or whatever user your httpd is running under.
+
+ <pre>chown www-data db/ db/sratch.db</pre>
+
+3. Copy <code>config.php-dist</code> to <code>config.php</code> 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
==========