diff options
author | Adnan Abdulally <adnan.abdulally@printivity.com> | 2021-02-01 10:39:29 -0800 |
---|---|---|
committer | Noah Silvera <noah@super.gd> | 2021-03-17 07:11:56 -0700 |
commit | 5685e91dab45d8fee7149ca2aa143dc877851723 (patch) | |
tree | 5b70bb5ba3612bf665015be91bb180a65bd19968 | |
parent | d3c7bd779d5bf546ff9ae0a4d51cd33f8df2fd2c (diff) |
Update README.md
Improve the installation instructions and remove outdated messaging
-rw-r--r-- | README.md | 13 |
1 files changed, 10 insertions, 3 deletions
@@ -16,7 +16,14 @@ This is not a fork of [spree_taxjar](https://github.com/vinsol-spree-contrib/spr $ bundle -2. Next, configure Solidus to use this gem: +2. Install and run the necessary migrations: + + ```shell + bundle exec rails g super_good:solidus_taxjar:install + bundle exec rake db:migrate + ``` + +3. Next, configure Solidus to use this gem: ```ruby # Put this in config/initializers/solidus.rb @@ -26,7 +33,7 @@ This is not a fork of [spree_taxjar](https://github.com/vinsol-spree-contrib/spr end ``` -3. Also, configure your error handling: +4. Also, configure your error handling: ```ruby # Put this in config/initializers/taxjar.rb @@ -38,7 +45,7 @@ This is not a fork of [spree_taxjar](https://github.com/vinsol-spree-contrib/spr } ``` -4. Finally, make sure that the `TAXJAR_API_KEY` environment variable is set to a your TaxJar API key and make sure that you have a `Spree::TaxRate` with the name "Sales Tax". This will be used as the source for the tax adjustments that Solidus creates. +5. Finally, make sure that the `TAXJAR_API_KEY` environment variable is set to a your TaxJar API key and make sure that you have a `Spree::TaxRate` with the name "Sales Tax". This will be used as the source for the tax adjustments that Solidus creates. ## Project Status |