README.md in dailycred-0.2.0 vs README.md in dailycred-0.3.0

- old
+ new

@@ -1,9 +1,11 @@ ## Ruby on Rails The Dailycred ruby gem is everything you need to get off the ground running with robust authentication. It includes an [omniauth](https://github.com/intridea/omniauth) provider and a generator to create necessary models and controllers. The generated authentication structure is inspired by [nifty-generators](https://github.com/ryanb/nifty-generators). +If you are using a rails project that already has authentication, check out this post about [integrating Dailycred with an existing rails project](https://www.dailycred.com/blog/15/how-to-integrate-dailycred-with-an-existing-rails-project). + If you'd rather only communicate with Dailycred through OAuth and provide your own authentication controllers and models, you can use the [omniauth_dailycred](https://github.com/dailycred/omniauth_dailycred) gem. ##Installation To get started using Dailycred with Ruby on Rails, the first thing you need to do is add the dailycred gem to your gemfile: @@ -11,11 +13,11 @@ gem 'dailycred' Make sure you've signed up for Dailycred, and head over to your [settings](https://www.dailycred.com/admin/settings) page to get your API keys. Once you've done that, head back to the command line and run: bundle - rails g dailycred + rails g dailycred:install rake db:migrate Thats it! You've successfully added authentication to your app, and you can start signing up users. Run `rails s` to start your server, and point your browser to [http://localhost:3000/auth](http://localhost:3000/auth) and you'll see a pre-built page with links to sign up. @@ -216,17 +218,16 @@ # # Rails.configuration.DAILYCRED_OPTIONS = { # :after_auth => '/hello', #after login # :after_unauth => '/goodbye' #after logout # } + +### Customization -## Contributing +If you would like to customize this engine's `session_controller` or views, two generators are provided for you. -1. Fork it -2. Create your feature branch (`git checkout -b my-new-feature`) -3. Commit your changes (`git commit -am 'Added some feature'`) -4. Push to the branch (`git push origin my-new-feature`) -5. Create new Pull Request - -![](https://www.dailycred.com/dc.gif?client_id=dailycred&title=rails_repo "dailycred") + rails g dailycred:controllers + rails g dailycred:views + +![](https://www.dailycred.com/dc.gif?client_id=dailycred&title=rails_repo&type=rails_repo "dailycred") [![Build Status](https://secure.travis-ci.org/dailycred/dailycred.png?branch=master)](https://travis-ci.org/dailycred/dailycred) \ No newline at end of file