README fixed

This commit is contained in:
Wojciech Todryk 2011-06-24 23:53:55 +02:00
parent e40a859b7d
commit c96e351ee8

View file

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