Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

split installation/usage in README

  • Loading branch information...
commit 9f62dd43254b3fdfe55d64d80312a53daf110694 1 parent 10ff0ef
@beanieboi authored
Showing with 18 additions and 3 deletions.
  1. +18 −3 README.md
View
21 README.md
@@ -5,13 +5,24 @@ use it, you'll need to sign up for an OAuth Application ID and Secret
on the [Vimeo Applications Page](https://developer.vimeo.com/apps).
You can read more about Vimdeo's oauth over at their [developer page](https://developer.vimeo.com/apis/advanced#oauth)
-## Basic Usage
-add the following line to your Gemfile.
+## Installation
+
+Add this line to your application's Gemfile:
gem 'omniauth-vimeo'
-If you finished running bundler and omniauth-vimeo is ready to go, you need to add the following lines to your `config/initializers/omniauth.rb`:
+And then execute:
+
+ $ bundle
+
+Or install it yourself as:
+
+ $ gem install omniauth-vimeo
+
+## Usage
+
+If omniauth-vimeo is ready to go, you need to add the following lines to your `config/initializers/omniauth.rb`:
use OmniAuth::Builder do
provider :vimeo, ENV['VIMEO_KEY'], ENV['VIMEO_SECRET']
@@ -19,6 +30,10 @@ If you finished running bundler and omniauth-vimeo is ready to go, you need to a
You need to replace the VIMEO_KEY and VIMEO_SECRET with your own credentials, you can get them at the Vimeo's developer page as mention above.
+Open the following URL and connect your Vimeo account with your application:
+
+ /auth/vimeo
+
## Supported Rubies
OmniAuth Vimeo is tested under 1.8.7, 1.9.2, 1.9.3 and Ruby Enterprise Edition.
Please sign in to comment.
Something went wrong with that request. Please try again.