upz, forgot to take out comments
[boxroom-stian.git] / INSTALLING
blobca790b8f35b5d9c468573a5e663bde8fc538039d
1 This program requires Ruby on Rails 1.2.2, and the gems rubyzip and ferret. 
2 Mongrel is also recommended.
4 Running sh create-data-dir.sh will create necessary empty directories (since 
5 git stupidly doesn't allow you to store empty directories I think). Then rake 
6 db:migrate will set up the database (sqlite3 by default, works fine with mysql 
7 as well). Then you should be able to run ruby script/server, and try it out on 
8 http://localhost:3000.                   
10 A lot of program variables are set in config/environment.rb, for example paths
11 to helper scripts for extracting text from pdf, rtf, doc etc for indexing, 
12 forbidden file extensions, paths to data dirs (I think the default is quite 
13 sane though).
15 As for deploying, I currently deploy using only a pound load-balancer which
16 is connected to a cluster of five mongrels, and this seems to work quite well.