eegc / spree_custom_reports

Custom sales reports for Spree

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

About

Custom sales reports for Spree

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


Languages

Language:Ruby 70.2%Language:HTML 28.4%Language:CSS 0.7%Language:JavaScript 0.7%