README.md in jt-rails-toolbox-1.2.1 vs README.md in jt-rails-toolbox-1.2.2
- old
+ new
@@ -14,10 +14,40 @@
Create a `jt-toolbox.yml` file:
rails g jt:toolbox
+A simple configuration of `jt-toolbox.yml` file:
+
+```yml
+ production:
+ exception:
+ email_prefix: '[ERROR]'
+ sender_address: "Your website <error@example.com>"
+ exception_recipients:
+ - my_email_for_errors@example.com
+ files:
+ folder: upload
+ mail:
+ from: "Your website <contact@example.com>"
+ delivery_method: smtp
+ smtp_settings:
+ address: smtp.gmail.com
+ port: 587
+ domain: example.com
+ user_name: username
+ password: password
+ authentication: plain
+ enable_starttls_auto: true
+ hosts:
+ host: https://www.example.com
+ asset_host: https://asset.example.com
+ cdn_host: https://cdn.example.com
+ sidekiq:
+ redis_url: redis://localhost:6379/my_app
+```
+
## What's in it?
- [Exception Notification](https://github.com/smartinez87/exception_notification), send email notifications when errors occur
- [paperclip](https://github.com/thoughtbot/paperclip), manage file upload
- [quiet_assets](https://github.com/evrone/quiet_assets), silence assets in log
@@ -71,6 +101,6 @@
- [Jonathan Tribouharet](https://github.com/jonathantribouharet) ([@johntribouharet](https://twitter.com/johntribouharet))
## License
-JTRailsToolbox is released under the MIT license. See the LICENSE file for more info.
\ No newline at end of file
+JTRailsToolbox is released under the MIT license. See the LICENSE file for more info.