From 68fca079c09324a3137685fca9a81aa56528dd3f Mon Sep 17 00:00:00 2001 From: Stian Haklev Date: Thu, 10 May 2007 09:01:49 +0700 Subject: [PATCH] updated installing with info about helper programs and gems --- INSTALLING | 17 ++++++++++++++++- 1 file changed, 16 insertions(+), 1 deletion(-) rewrite INSTALLING (80%) diff --git a/INSTALLING b/INSTALLING dissimilarity index 80% index 0b3f562..ca790b8 100644 --- a/INSTALLING +++ b/INSTALLING @@ -1 +1,16 @@ -Running sh create-data-dir.sh will create necessary empty directories (since git stupidly doesn't allow you to store empty directories I think). Then rake db:migrate will set up the database (sqlite3 by default, works fine with mysql as well). Then you should be able to run ruby script/server, and try it out on http://localhost:3000. +This program requires Ruby on Rails 1.2.2, and the gems rubyzip and ferret. +Mongrel is also recommended. + +Running sh create-data-dir.sh will create necessary empty directories (since +git stupidly doesn't allow you to store empty directories I think). Then rake +db:migrate will set up the database (sqlite3 by default, works fine with mysql +as well). Then you should be able to run ruby script/server, and try it out on +http://localhost:3000. + +A lot of program variables are set in config/environment.rb, for example paths +to helper scripts for extracting text from pdf, rtf, doc etc for indexing, +forbidden file extensions, paths to data dirs (I think the default is quite +sane though). + +As for deploying, I currently deploy using only a pound load-balancer which +is connected to a cluster of five mongrels, and this seems to work quite well. \ No newline at end of file -- 2.11.4.GIT