README update

This commit is contained in:
Eugene Korbut 2009-04-19 02:42:14 +11:00
parent 8d365f001a
commit 56039cc595
2 changed files with 6 additions and 10 deletions

14
README
View file

@ -2,17 +2,13 @@
Installation Guide
Requirements
* Ruby 1.8.2 or higher
* Rails 0.14.2
* MySQL or PostgreSQL with Ruby bindings
* Ruby-GetText? 0.8.0 or higher (http://ponx.s5.xrea.com/hiki/ruby-gettext.html)
* Ruby 1.8.7
* Rails 2.2.2
Installation
1. Checkout the source code
2. Create database called mailr. Create the database schema using db/schema.mysql.sql or db/schema.pgsql.sql
3. Change the config/database.yml to reflect your newly created database configuration
4. If you need to override some of the default constants used in the application take a look at config/default_site.rb. Then create config/site.rb that contains only the keys which you want to override. Example content of config/site.rb is:
2. If you need to override some of the default constants used in the application take a look at config/default_site.rb. Then create config/site.rb that contains only the keys which you want to override. Example content of config/site.rb is:
module CDF
@ -21,6 +17,4 @@ Installation
}
end
5. Start your web server and login in the application with your IMAP user and password.
3 Use it

View file

@ -4,6 +4,8 @@
# (Use only when you can't set environment variables through your web/app server)
# ENV['RAILS_ENV'] = 'production'
RAILS_GEM_VERSION = '2.2.2' unless defined? RAILS_GEM_VERSION
# Bootstrap the Rails environment, frameworks, and default configuration
require File.join(File.dirname(__FILE__), 'boot')