Skip to content

Latest commit

 

History

History
42 lines (28 loc) · 1.12 KB

README.md

File metadata and controls

42 lines (28 loc) · 1.12 KB

SpreeCustomReports

Introduction goes here.

Installation

  1. Add this extension to your Gemfile with this line:
gem 'spree_custom_reports', github: 'engarcia/spree_custom_reports', branch: '3-0-stable'

The branch option is important: it must match the version of Spree you're using. For example, use 3-0-stable if you're using Spree 3-0-stable or any 3.0.x version.

  1. Copy & run migrations
bundle exec rails g spree_custom_reports:install
  1. Restart your server

If your server was running, restart it so that it can find the assets properly.

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_custom_reports/factories'

Copyright (c) 2017 Enrique Garcia C, released under the New BSD License