ruby on rails webmail client
 
 
 
 
Go to file
Wojciech Todryk ab3931d08b devel 2011-07-21 17:59:55 +02:00
app devel 2011-07-21 17:59:55 +02:00
arts devel 2011-07-21 17:59:55 +02:00
config devel 2011-07-21 17:59:55 +02:00
db works but need some cleanup 2011-06-24 23:48:08 +02:00
doc works but need some cleanup 2011-06-24 23:48:08 +02:00
lib works but need some cleanup 2011-06-24 23:48:08 +02:00
public devel 2011-07-21 17:59:55 +02:00
script works but need some cleanup 2011-06-24 23:48:08 +02:00
test works but need some cleanup 2011-06-24 23:48:08 +02:00
themes devel 2011-07-21 17:59:55 +02:00
vendor works but need some cleanup 2011-06-24 23:48:08 +02:00
.gitignore devel 2011-07-21 17:59:55 +02:00
AUTHORS devel 2011-07-21 17:59:55 +02:00
Gemfile themes_for_rails integrated with original theme 2011-06-25 18:19:07 +02:00
Gemfile.lock themes_for_rails integrated with original theme 2011-06-25 18:19:07 +02:00
README.markdown devel 2011-07-21 17:59:55 +02:00
Rakefile themes_for_rails integrated with original theme 2011-06-25 18:19:07 +02:00
UNLICENSE devel 2011-07-21 17:59:55 +02:00
config.ru themes_for_rails integrated with original theme 2011-06-25 18:19:07 +02:00

README.markdown

Introduction

Mailr is a IMAP mail client based on Ruby on Rails platform.

Installation guide

NOTE All path and filenames are based on Rails.root directory.

Requirements

In Rails 3 all dependencies should be defined in file Gemfile. All needed gems can be installed using bundler.

Installation procedure

  • Checkout the source code.

  • 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'
}
end
  • 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"
}
  • Prepare config/database.yml file (see config/database.yml.example). Check if proper gems (sqlite3/mysql/postgresql) are defined in Gemfile and installed.

  • Migrate database (rake db:migrate)

  • Use it.