doorkeeper-dynamodb provides doorkeeper support to Dynamoid. To start using it, add to your Gemfile:
gem "doorkeeper-dynamodb", github: "doorkeeper-gem/doorkeeper-dynamodb"
Run doorkeeper’s installation generator:
rails generate doorkeeper:install
This will install the doorkeeper initializer into
config/initializers/doorkeeper.rb
.
Set the ORM configuration:
Doorkeeper.configure do
orm :dynamoid
end
To run tests, clone this repository and run rake
. It will copy and run
doorkeeper’s original test suite, after configuring the ORM according to the
variables defined in .travis.yml
file.
To run locally, you need to choose a gemfile, with a command similar to:
$ export BUNDLE_GEMFILE=$PWD/gemfiles/Gemfile.dynamoid.rb
Please refer to https://github.com/doorkeeper-gem/doorkeeper for instructions on doorkeeper’s project.