diff options
author | Jared Norman <jared@super.gd> | 2021-02-10 11:55:21 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-02-10 11:55:21 -0800 |
commit | 2f2b1d03ca7c6435298daa0705918b4b9f0fcd04 (patch) | |
tree | 59ba8225c83db456d57ca16e652d5d67c73504f1 | |
parent | 6e9ff3c16c705cb75b55b4cfb9f66379bcad45a7 (diff) | |
parent | aa2ce499de5698f12a425ca81a2cb914e34fbfb7 (diff) |
Merge pull request #38 from nvandoorn/add-version-information-to-readme
Add information to README about versions in setup
-rw-r--r-- | README.md | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -65,7 +65,9 @@ The extension provides currently two high level `calculator` classes that wrap t ## Development -After checking out the repo, run `bin/setup` to install dependencies. Then, run `rake spec` to run the tests. You can also run `bin/console` for an interactive prompt that will allow you to experiment. +Before installing dependencies, make sure your environment variables are setup. Our CI uses something like this: `SOLIDUS_BRANCH=v2.10 DB=postgresql RAILS_VERSION="~> 5.2.0`. These environment variables need to be set when installing dependencies and running specs, so set them before the command like this: `SOLIDUS_BRANCH=v2.10 DB=postgresql RAILS_VERSION="~> 5.2.0 bin/setup` + +Run `bin/setup` to install dependencies. Then, run `rake spec` to run the tests. You can also run `bin/console` for an interactive prompt that will allow you to experiment. To install this gem onto your local machine, run `bundle exec rake install`. To release a new version, update the version number in `version.rb`, and then run `bundle exec rake release`, which will create a git tag for the version, push git commits and tags, and push the `.gem` file to [rubygems.org](https://rubygems.org). |