diff options
| author | Luc Donnet | 2015-06-04 15:27:07 +0200 | 
|---|---|---|
| committer | Luc Donnet | 2015-06-04 15:27:07 +0200 | 
| commit | 8f6ebfb730cd46b400e38a01b1e3228de4be1148 (patch) | |
| tree | d13172a6fdfea67f7fda95589aa49fccb6f6082e /README.md | |
| parent | 678112b7aa35705bf689454fb7d85b0373e627a5 (diff) | |
| download | chouette-core-8f6ebfb730cd46b400e38a01b1e3228de4be1148.tar.bz2 | |
Use delayed job for asynchronous devise mail
Diffstat (limited to 'README.md')
| -rw-r--r-- | README.md | 13 | 
1 files changed, 11 insertions, 2 deletions
| @@ -81,7 +81,7 @@ RAILS_ENV=production bundle exec rake db:create db:migrate  Prepare static resources (assets)  ```sh -RAILS_ENV=production bundle exec rake assets:clean assets:precompile +RAILS_ENV=production bundle exec rake assets:clobber assets:precompile  ```  Configuration @@ -116,10 +116,19 @@ Configure IGN Géoportail Key.  * Edit [secrets.yml](./config/secrets.yml) and uncomment and set```geoportail_api_key```  * see [API Géoportail documentation](http://api.ign.fr/accueil) +Configure the way that it sends email. +* Edit [devise_async.rb](./config/initializer/devise_async.rb) and uncomment and set```Devise::Async.enabled``` ( true if you want to use asynchronously and false otherwise ) +* see [Devise Async specification](https://github.com/mhfs/devise-async)  Run  --- +Launch the task if you want to send mail asynchronously (See previous chapter to desactivate it) +```sh +RAILS_ENV=production bundle exec rake jobs:work +``` +This task may be added in system start up configuration +  Launch rails server with [WEBrick](http://guides.rubyonrails.org/command_line.html#server-with-different-backends) ( default RoR web server, note: running on default port 3000)  ```sh  RAILS_ENV=production bundle exec rails server @@ -152,7 +161,7 @@ API Documentation  The description of the restful API is described in :  * [User manual file](./doc/interfaces/Chouette_API_REST_v1.2.pdf)  * [XSD file](./doc/interfaces/api_rest_v1.xsd) -* [Chouette Web Service IEV](https://github.com/afimb/chouette) +* [Chouette Web Service IEV](https://github.com/afimb/chouette/blob/master/doc/interface/Chouette-API%20serveur%20IEV-1.0.pdf)  License | 
