Home > spine.realtime

spine.realtime

Spine.realtime is a project mainly written in RUBY and COFFEESCRIPT, it's free.

Realtime Spine app with Rails

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
Previous:awesome_flags