README fixed

rails_3_0
Wojciech Todryk 2011-06-25 00:05:54 +02:00
parent 3b553b5e15
commit 1ea0781ddb
1 changed files with 8 additions and 4 deletions

View File

@ -13,16 +13,19 @@ In _Rails 3_ all dependencies should be defined in file _<Rails.root>.Gemfile_.
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
```ruby
module CDF
LOCALCONFIG = {
:imap_server => 'your.imap.server'
}
end`
end
```
3. Configure SMTP settings
`# initializers/smtp_settings.rb
```ruby
# initializers/smtp_settings.rb
ActionMailer::Base.smtp_settings = {
:address => "mail.example.com.py",
:port => 26,
@ -30,7 +33,8 @@ end`
:enable_starttls_auto => true,
:user_name => "emilio@example.com.py",
:password => "yourpass"
}`
}
```
4. Prepare config/database.yml file (see config/database.yml.example).
Check if proper gems (sqlite3/mysql/postgresql) are defined in _Gemfile_ and installed.