Skip to content

boombotix/spree_prize

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

32 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SpreePrize

A Spree extension for giveaways.

Active prizes will be displayed on the /prizes route of the spree application. Adds a 'Prizes' tab to the spree admin panel.

Installation

Add spree_prize to your Gemfile:

gem 'spree_prize'

Bundle your dependencies and run the installation generator:

bundle
bundle exec rails g spree_prize:install

** Add yield :head and yield :meta statements in your application layout <head> tag. **

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

When testing your applications integration with this extension you may use it's factories. Simply add this require statement to your spec_helper:

require 'spree_prize/factories'

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published