ruby on rails webmail client
Find a file
Wojciech Todryk 8868a84123 devel
2011-09-05 19:08:22 +02:00
app devel 2011-09-05 19:08:22 +02:00
arts devel 2011-09-05 19:08:22 +02:00
config devel 2011-09-05 19:08:22 +02:00
db devel 2011-09-03 13:07:40 +02:00
doc devel 2011-07-27 20:34:30 +02:00
lib devel 2011-09-03 13:07:40 +02:00
public devel 2011-09-05 19:08:22 +02:00
script works but need some cleanup 2011-06-24 23:48:08 +02:00
test devel 2011-09-05 19:08:22 +02:00
themes/olive devel 2011-09-05 19:08:22 +02:00
vendor/plugins devel 2011-07-27 20:34:30 +02:00
.gitignore devel 2011-07-27 20:34:30 +02:00
AUTHORS form scratch 2011-07-21 20:20:15 +02:00
config.ru devel 2011-07-27 20:34:30 +02:00
Gemfile gemfile modified 2011-08-16 21:18:57 +02:00
Rakefile devel 2011-07-27 20:34:30 +02:00
README.markdown devel 2011-08-24 19:20:13 +02:00
UNLICENSE form scratch 2011-07-21 20:20:15 +02:00

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"

from config/environments/production.rb file.