SpreeCountyZone
Add counties for calculating the tax rate
Installation
- Add this extension to your Gemfile with this line:
gem 'spree_county_zone', github: 'gofmanaa/spree_county_zone'
- Install the gem using Bundler:
bundle install
- Copy & run migrations
bundle exec rails g spree_county_zone:install
- Load USA counties
rails spree_county_zone:load_us
- 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