sprangular / sprangular_chimpy

sprangular + spree_chimpy

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Sprangular Chimpy

Mailchimp integration for sprangular

Installation

Add sprangular_chimpy & spree_chimpy to your Gemfile:

gem 'spree_chimpy',      github: 'DynamoMTL/spree_chimpy'
gem 'sprangular_chimpy', github: 'sprangular/sprangular_chimpy'

Bundle your dependencies and run the spree_chimpy installation generator:

bundle
bundle exec rails g spree_chimpy:install

Add the following to your application.js:

//= require sprangular/chimpy

Add Sprangular.Chimpy module as a dependency to your host apps module:

angular.module 'MyApp', ['Sprangular', 'Sprangular.Chimpy']

Include chimpy/subscribe.html somewhere in your layout (in footer is recommended):

  <ng-include src="'chimpy/subscribe.html'"/>

Testing

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 rake

Copyright (c) 2015 Dynamo, released under the New BSD License

About

sprangular + spree_chimpy

License:BSD 3-Clause "New" or "Revised" License


Languages

Language:Ruby 78.4%Language:CoffeeScript 13.4%Language:HTML 8.2%