mailr/README

35 lines
892 B
Plaintext
Raw Normal View History

Installation Guide
Requirements
2011-06-18 13:27:44 +02:00
* Ruby 1.8.7
2009-07-30 07:01:48 +02:00
* Rails 2.3.2
Installation
1. Checkout the source code
2009-04-18 17:42:14 +02:00
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
LOCALCONFIG = {
:imap_server => 'your.imap.server'
2011-06-18 13:27:44 +02:00
}
end
2011-03-28 02:28:10 +02:00
3. Configure SMTP settings
# initializers/smtp_settings.rb
2011-06-18 13:27:44 +02:00
ActionMailer::Base.smtp_settings = {
:address => "mail.example.com.py",
:port => 26,
:authentication => :plain,
:enable_starttls_auto => true,
:user_name => "emilio@example.com.py",
:password => "yourpass"
2011-03-28 02:28:10 +02:00
}
2011-06-18 13:27:44 +02:00
4. Prepare config/database.yml file (see config/database.yml.example)
5. Migrate database (rake db:migrate)
6. Use it