mirror of
https://github.com/dkam/paapi.git
synced 2025-12-28 07:04:53 +00:00
Add some instructions to README about configuring the script
This commit is contained in:
@@ -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.
|
||||
|
||||
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).
|
||||
|
||||
## Contributing
|
||||
|
||||
@@ -11,4 +11,5 @@ require 'paapi'
|
||||
# Pry.start
|
||||
|
||||
require 'irb'
|
||||
load 'config.rb' if File.exist? 'config.rb'
|
||||
IRB.start(__FILE__)
|
||||
|
||||
Reference in New Issue
Block a user