/spree_county_zone

add counties to spree zone

Primary LanguageRubyBSD 3-Clause "New" or "Revised" LicenseBSD-3-Clause

SpreeCountyZone

Add counties for calculating the tax rate

Installation

  1. Add this extension to your Gemfile with this line:
gem 'spree_county_zone', github: 'gofmanaa/spree_county_zone'
  1. Install the gem using Bundler:
bundle install
  1. Copy & run migrations
bundle exec rails g spree_county_zone:install
  1. Load USA counties
    rails spree_county_zone:load_us
  2. Restart your server

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

Testing

Be sure to bundle your dependencies and then create a dummy test app for the specs to run against.

$ bundle $ bundle exec rake test_app $ bundle exec rspec spec

Contributing

If you'd like to contribute, please take a look at the instructions for installing dependencies and crafting a good pull request.

Copyright (c) 2017 Gofman A, released under the New BSD License