Skip to content

Latest commit

 

History

History
26 lines (19 loc) · 489 Bytes

Readme.md

File metadata and controls

26 lines (19 loc) · 489 Bytes

Sinatra Streaming Example

A simple demonstration of streaming Redis pub/sub data over HTTP via Sinatra's new streaming capabilities.

See it live

curl -v https://sinatra-streaming-example.herokuapp.com/stream

Run it local

$ bundle install
$ bundle exec foreman start
$ curl -v http://localhost:5000

Deploy to Heroku

$ heroku create --stack cedar
$ heroku addons:add redistogo:nano
$ git push heroku master
$ heroku scale web=1 worker=1