Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
CSS Ruby CoffeeScript
branch: master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
app
bourbon
config
db
doc
lib
log
neat
public
script
spec
vendor
.gitignore
.rvmrc
Capfile
Gemfile
Gemfile.lock
README
Rakefile
config.ru

README

This is a basic Rails 3.2 app with Devise and Omniauth configured for authenticating with Facebook
and Twitter.

The Devise templates are converted to HAML and use Twitter Bootstrap 1.4.
Included sass-twitter-bootstrap from https://github.com/jlong/sass-twitter-bootstrap in vendor/assets.

The configuration for the Facebook and Twitter apps are stored in config/omniauth_providers.yml
The format of the file is the following:

facebook:
  scope: email # global setting for all environments
  test:
    app_id: the "application ID" of the Facebook app you use for testing
    secret_key: the "secret key" of the Facebook app you use for testing
  development: ...
    app_id: the "application ID" of the Facebook app you use for development
    secret_key: the "secret key" of the Facebook app you use for development
  production: 
    app_id: ...
    secret_key: ...
  # whatever other environments you have 
twitter:
  test: 
    consumer_key: the "consumer key" for the Twitter app you use for testing
    consumer_secret: the "consumer secret" for the Twitter app you use for testing
  development:
    consumer_key: the "consumer key" for the Twitter app you use for development
    consumer_secret: the "consumer secret" for the Twitter app you use for development
  production:
    consumer_key: ...
    consumer_secret: ...
Something went wrong with that request. Please try again.