ruby on rails webmail client
Find a file
Wojciech Todryk 0872730d8d view cleanup
2012-03-24 18:09:31 +01:00
app view cleanup 2012-03-24 18:09:31 +01:00
arts rails 3.2.2 added tweeter bootstrap 2012-03-10 18:08:39 +01:00
config view cleanup 2012-03-24 18:09:31 +01:00
db dev cont 2012-03-24 13:23:34 +01:00
doc dev cont 2012-03-24 13:23:34 +01:00
lib view cleanup 2012-03-24 18:09:31 +01:00
log dev cont 2012-03-24 13:23:34 +01:00
public dev cont 2012-03-24 13:23:34 +01:00
script works but need some cleanup 2011-06-24 23:48:08 +02:00
test dev cont 2012-03-24 13:23:34 +01:00
vendor dev cont 2012-03-24 13:23:34 +01:00
.gitignore start to switch to rails 3.2.2 2012-03-03 18:53:39 +01:00
AUTHORS rails 3.2.2 added tweeter bootstrap 2012-03-10 18:08:39 +01:00
CHANGES.markdown rails 3.2.2 added tweeter bootstrap 2012-03-10 18:08:39 +01:00
config.ru dev cont 2012-03-24 13:23:34 +01:00
Gemfile dev cont 2012-03-24 13:23:34 +01:00
Gemfile.lock dev cont 2012-03-24 13:23:34 +01:00
Rakefile dev cont 2012-03-24 13:23:34 +01:00
README.markdown view cleanup 2012-03-24 18:09:31 +01:00
TODO.markdown rails 3.2.2 added tweeter bootstrap 2012-03-10 18:08:39 +01:00
UNLICENSE.markdown rails 3.2.2 added tweeter bootstrap 2012-03-10 18:08:39 +01:00

NOTE The last stable version is 0.8.6. Now I try to moved code to Rails 3.2.2 and add Boostrap from Tweeter as default theme. Not all sources that you can find in MASTER branch were already moved, so some views can be broken.

Introduction

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

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.
  • Install all dependiences. Check if proper gems (sqlite3/mysql/postgresql) are defined in Gemfile and installed. Use bundler for that:
bundle install
  • Check config/defaults.yml for proper values.
  • Prepare config/database.yml file (see config/database.yml.example).
  • Migrate database (rake db:migrate)
  • Start rails server if applicable
  • Point your browser to application URL: For local access: http://localhost:3000 For remote access: http://some_url/mailr
  • Using browser do basic setup. If You make a mistake delete all data from DB using rake task:
rake db:clear_data
  • Use it.

Specific configuration

For themes: if server sends files with no content in production mode comment out

config.action_dispatch.x_sendfile_header = "X-Sendfile"

in config/environments/production.rb file.