Sha256: 2f0ff6fe4cdbed575c22a0aee41c8b26a0f714ae1d78678a453d0d2f98182d46

Contents?: true

Size: 895 Bytes

Versions: 1

Compression:

Stored size: 895 Bytes

Contents

===============================================================================

There is a setup that you need to do before you can use doorkeeper.

Step 1.
Go to config/initializers/doorkeeper.rb and configure
resource_owner_authenticator block.

Step 2.
Choose the ORM:

If you want to use ActiveRecord run:

  rails generate doorkeeper:migration

And run

  rake db:migrate

If you want to use Mongoid, configure the orm in initializers/doorkeeper.rb:

# Mongoid
Doorkeeper.configure do
  orm :mongoid
end

If you want to use MongoMapper, configure the orm in
initializers/doorkeeper.rb:

# MongoMapper
Doorkeeper.configure do
  orm :mongo_mapper
end

And run

  rails generate doorkeeper:mongo_mapper:indexes
  rake db:index

Step 3.
That's it, that's all. Enjoy!

===============================================================================

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
couchkeeper-0.6.7 lib/generators/doorkeeper/templates/README