Skip to content
Realtime Spine app with Rails
Ruby CoffeeScript JavaScript
Find file
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.
app
config
db
doc
lib/tasks
log
public
script
test
vendor
.gitignore
Gemfile
Gemfile.lock
Procfile
README.md
Rakefile
config.ru

README.md

Introduction

This is an example of a realtime app using Spine and Rails.

You can find a live demo here.

Source

The files you need to inspect are:

  • app/assets/javascripts/app/models/page.coffee
  • app/assets/javascripts/app/models/pusher.coffee
  • app/assets/javascripts/app/controllers/pages.coffee
  • app/controllers/pages_controller.rb
  • app/observers/pusher_observer.rb

Usage

bundle install
rake db:setup
rake db:seed

rails server thin

open http://localhost:3000
Something went wrong with that request. Please try again.