Skip to content
this is an example app for the likeable gem
Ruby JavaScript
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.
app
config likable works Nov 1, 2011
db initial likable example mods Oct 31, 2011
doc
lib/tasks
public
script Upgrade Devise to 1.4.7 and Rails to 3.0.10 Sep 26, 2011
test
vendor/plugins
.gitignore
Gemfile
Gemfile.lock
README.md
Rakefile
config.ru

README.md

Likeable Example for Rails 3

Example App using likeable (http://github.com/gowalla/likeable). Based on an example app using devise :) http://github.com/plataformatec/devise

Screencast

You can view a screencast of likeable on youtube

Installation

Install Redis if it isn't already, if you're on a mac you can run install it using homebrew :

brew install redis

Install bundler if you haven't yet:

gem install bundler

Install the gems:

bundle install

This will install Rails 3, sqlite3-ruby gem and Devise 1.4.7, and likeable.

Rake devise setup task:

rake likeable:setup

This will:

  • drop any existing database
  • create a new database
  • migrate the database
  • create a default user and admin

Run the server and use the credentials provided by the rake task to sign in and test the application.

Navigate to posts and try liking and unliking the post. Its that simple

License

MIT License. Copyright 2011 schneems

Something went wrong with that request. Please try again.