Introduction goes here.
Add spree_newsletter to your Gemfile:
gem 'spree_newsletter', github: 'fruqi/spree_newsletter'Bundle your dependencies and run the installation generator:
bundle
bundle exec rails g spree_newsletter:installIt's a good idea to add your action mailer to sidejob. Therefore, you can add sidekiq into your spree application and override the admin/newsletters_controller.
Attention! If you have issue with sidekiq worker during the integration, there is a high possibility that your sidekiq version is below 3.x. Thus, upgrade your sidekiq and you should be good to go.
First bundle your dependencies, then run rake. rake will default to building the dummy app if it does not exist, then it will run specs. The dummy app can be regenerated by using rake test_app.
bundle
bundle exec rakeWhen testing your applications integration with this extension you may use it's factories. Simply add this require statement to your spec_helper:
require 'spree_newsletter/factories'Copyright (c) 2014 [name of extension creator], released under the New BSD License