Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Ruby Other

This branch is 32 commits ahead of melcher:master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
app
config
db/migrate
lib
spec
.gitignore
Gemfile
LICENSE
README.md
Rakefile
spree_affiliate.gemspec

README.md

Spree Affiliate

Allows customers to refer friends and earn store credit for each user who registers and/or orders.

You can also give store credit to the refered friends on signup and after first order.

Installation

  1. Add to Gemfile:

    # Spree 1-2-stable
    gem 'spree_store_credits', :git => "git://github.com/sbounmy/spree_store_credits.git", :branch => "1-2-stable"
    gem "spree_affiliate", :git => "git@github.com:sbounmy/spree_affiliate.git", :branch => "1-2-stable"
    
    # Spree master (1.3)
    gem 'spree_store_credits', :git => "git://github.com/sbounmy/spree_store_credits.git", :branch => "master"
    gem "spree_affiliate", :git => "git@github.com:sbounmy/spree_affiliate.git", :branch => "master"
    
  2. Run bundle install

  3. Run install rake task for all extensions:

    rake spree_store_credits:install:migrations
    rails g spree_affiliate:install
    
  4. Run rake db:migrate

Testing

bundle exec rake test_app

Something went wrong with that request. Please try again.