From 54c6115bd27b1fe97599adcee50088b60b005647 Mon Sep 17 00:00:00 2001 From: yvesf Date: Mon, 22 Nov 2010 18:31:53 +0100 Subject: INSTALL --- INSTALL | 15 ++++++++++++++- 1 file changed, 14 insertions(+), 1 deletion(-) (limited to 'INSTALL') diff --git a/INSTALL b/INSTALL index 1c5e9b6..c2ff89f 100644 --- a/INSTALL +++ b/INSTALL @@ -1,3 +1,13 @@ +TODO + +clean html +consistent schema (_book _metadata) + ? /usr/bin/convert ? +check pdfminer for better text-extraction (whitespace) + + + +------------------------ Create a virtualenv virtualenv create booksearch_env cd booksearch_env @@ -40,7 +50,10 @@ Check your whoosh version: Using gunicorn $ pip install gunicorn $ pip install eventlet - $ gunicorn -w `getconf _NPROCESSORS_ONLN` web:app + $ gunicorn -w `getconf _NPROCESSORS_ONLN` -b 0.0.0.0:8000 web:app + #freebsd: + $ gunicorn -w `sysctl -n kern.smp.cpus` -b 0.0.0.0:8000 web:app # http://localhost:8000 gunicorn + -- cgit v1.2.1