From c96e351ee8409629f84447b6377be6df07a4309c Mon Sep 17 00:00:00 2001 From: Wojciech Todryk Date: Fri, 24 Jun 2011 23:53:55 +0200 Subject: [PATCH] README fixed --- README.markdown | 28 ++++++++++++++-------------- 1 file changed, 14 insertions(+), 14 deletions(-) diff --git a/README.markdown b/README.markdown index 887f305..6d213e1 100755 --- a/README.markdown +++ b/README.markdown @@ -13,23 +13,23 @@ In _Rails 3_ all dependencies should be defined in file _.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 +`module CDF - LOCALCONFIG = { - :imap_server => 'your.imap.server' - } - end +LOCALCONFIG = { + :imap_server => 'your.imap.server' +} +end` 3. Configure SMTP settings - # initializers/smtp_settings.rb - 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" - } +`# initializers/smtp_settings.rb + 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" +}` 4. Prepare config/database.yml file (see config/database.yml.example). Check if proper gems (sqlite3/mysql/postgresql) are defined in _Gemfile_ and installed.