Clone repo:
git clone git://github.com/maccman/juggernaut.git
cd juggernaut
Create Heroku app:
heroku create myapp --stack cedar
heroku addons:add redistogo:nano
git push heroku master
heroku ps:scale web=1
heroku open
Find RedisToGo url
heroku run node
process.env.REDISTOGO_URL
And then publish from Juggernaut's Ruby gem:
irb
require "juggernaut"
Juggernaut.url = "REDISTOGO_URL"
Juggernaut.publish("channel1", "woo! it's working")
Hello. Thank you for these instructions: I tried these steps, but for some reason, heroko logs show the messages are being published correctly, but the application that is subscribing isn't picking up on the data.
We set ENV["REDIS_URL"] to the RedistoGo server url, and set Juggernaut.url = ENV["REDIS_URL"]. We also are including application.js from the Juggernaut app. Are there any steps that I might be missing to properly subscribe?
Thanks.