Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
damianlegawiec authored Mar 20, 2020
1 parent 7746407 commit 822e24a
Showing 1 changed file with 9 additions and 27 deletions.
36 changes: 9 additions & 27 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,43 +11,25 @@ Spree::Taxjar is a sales tax extension for Spree using [SmartCalcs by TaxJar](ht
- Go to `Account >> State Settings` and click the [Add State with Nexus](http://blog.taxjar.com/sales-tax-nexus-definition/) button for each state where want/need to collect sales tax.
- **NOTE:** TaxJar returns ZERO sales tax by default for orders shipping to states which are not designated as a nexus state.

Demo
-----------------------------------
Try Spree Taxjar for Spree Master with direct deployment on Heroku:

[![Deploy](https://www.herokucdn.com/deploy/button.svg)](https://heroku.com/deploy?template=https://github.com/vinsol-spree-contrib/spree-demo-heroku/tree/spree-taxjar-master)

Try Spree Taxjar for Spree 3-4 with direct deployment on Heroku:

[![Deploy](https://www.herokucdn.com/deploy/button.svg)](https://heroku.com/deploy?template=https://github.com/vinsol-spree-contrib/spree-demo-heroku/tree/spree-taxjar)

Try Spree Taxjar for Spree 3-1 with direct deployment on Heroku:

[![Deploy](https://www.herokucdn.com/deploy/button.svg)](https://heroku.com/deploy?template=https://github.com/vinsol-spree-contrib/spree-demo-heroku/tree/spree-taxjar-3-1)

*NOTE**: Don't forget to create a taxjar account and update the key in your admin section && Update tax rates to Spree/Taxjar calculator.

## Installation

1. Add this extension to your Gemfile with this line:

```ruby
gem 'spree_taxjar', github: 'vinsol-spree-contrib/spree_taxjar'
```

**Note** For spree 3-1 use `3-1-stable` branch. For spree version > 3-1 use `master` branch.
```ruby
gem 'spree_taxjar', github: 'spree-contrib/spree_taxjar'
```

2. Install the gem using Bundler:

```ruby
bundle install
```
```ruby
bundle install
```

3. Copy & run migrations

```ruby
bundle exec rails g spree_taxjar:install
```
```ruby
bundle exec rails g spree_taxjar:install
```

4. Restart your server

Expand Down

0 comments on commit 822e24a

Please sign in to comment.