mphalliday / PusherChat-Rails

A simple implementation of PusherApp with Ruby on Rails

Home Page:http://pusher-chat.heroku.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Getting started locally

$ bundle install

Edit config/database.yml and then set up the database

$ rake db:setup

Add some Pusher credentials in config/initializers/pusher.rb

Start the server

$ script/rails server

Visit http://localhost:3000/ is two browsers and start chatting.

Debugging

If something isn't working it's most likely the Pusher credentials:

  • Take a look at the Rails log for any Pusher errors
  • Enable javascript debugging on line 20 of public/javascripts/chat.js

About

A simple implementation of PusherApp with Ruby on Rails

http://pusher-chat.heroku.com