Add some instructions to README about configuring the script

This commit is contained in:
Dan Milne
2019-09-25 15:51:32 +10:00
parent cac4b2b5aa
commit ed3446f97e
2 changed files with 3 additions and 0 deletions

View File

@@ -85,6 +85,8 @@ gv = client.get_variations(asin: 'B00422MCUS')
After checking out the repo, run `bin/setup` to install dependencies. Then, run `rake test` to run the tests. You can also run `bin/console` for an interactive prompt that will allow you to experiment. After checking out the repo, run `bin/setup` to install dependencies. Then, run `rake test` to run the tests. You can also run `bin/console` for an interactive prompt that will allow you to experiment.
If you create a file `config.rb`, it will be loaded by `bin/console`, allowing you to configure keys and markets.
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). 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).
## Contributing ## Contributing

View File

@@ -11,4 +11,5 @@ require 'paapi'
# Pry.start # Pry.start
require 'irb' require 'irb'
load 'config.rb' if File.exist? 'config.rb'
IRB.start(__FILE__) IRB.start(__FILE__)