form scratch
This commit is contained in:
parent
a7dd8c90c9
commit
08dc7ecdd3
238 changed files with 9393 additions and 13192 deletions
36
README.markdown
Normal file → Executable file
36
README.markdown
Normal file → Executable file
|
@ -1,8 +1,6 @@
|
|||
## 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
|
||||
|
@ -13,35 +11,17 @@ In _Rails 3_ all dependencies should be defined in file _Gemfile_. All needed ge
|
|||
|
||||
* 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:
|
||||
|
||||
```ruby
|
||||
module CDF
|
||||
|
||||
LOCALCONFIG = {
|
||||
:imap_server => 'your.imap.server'
|
||||
}
|
||||
end
|
||||
```
|
||||
|
||||
* Configure SMTP settings
|
||||
|
||||
```ruby
|
||||
# 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"
|
||||
}
|
||||
```
|
||||
* Install all dependiences. Use _bundler_ for that.
|
||||
|
||||
* 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.
|
||||
|
||||
* Migrate database (rake db:migrate)
|
||||
|
||||
* Use it.
|
||||
* Start rails server if applicable
|
||||
|
||||
* Point Your browser to application URL:
|
||||
For local access: http://localhost:3000
|
||||
For remote access: http://some_url/mailr
|
||||
|
||||
* Use it.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue