This repository shows how to use Rails, Sinatra and SSE to have realtime update to highcharts. The following blog post gives you more info.
Ruby JavaScript CoffeeScript
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
app
config
db
doc
lib
log
public
script
test
vendor
.gitignore
.rvmrc
Gemfile
Gemfile.lock
LICENSE
README.md
Rakefile
config.ru
screenshot.png

README.md

Highcharts and real time update through SSE

This repository is an empty Rails application showing you how to get HighCharts charts with realtime update, using Server-Sent Events through a complete async Rails stack.

This is explained on a blog post at http://blog.penso.info and you can see a live jsfiddle (without the SSE part).

Usage

$ git clone https://github.com/penso/blog-sse.git
$ cd blog-sse # This repository use RVM
$ bundle install
$ rails s

Then check http://localhost:3000/

Author

Fabien Penso