Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Private pub on heroku

I am developing a chat application using rails 3.2.12 and a great gem called private pub, for which you can find a screencast here. It is built on top of faye and enables you to easily build real time chats by pushing messages.

Now, deploying it on heroku actually is not that simple with private pub. Apparently, you have to set up another app for the faye channel and then subscribe to that channel from your other app.

This is all very confusing. Neither private pub nor faye have anything about deployment on heroku in their documentation. I have found these two links:

  • Private Pub on Heroku | Rails 3
  • http://webprogramming29.wordpress.com/2013/02/15/setup-privatepub-or-faye-on-heroku/

However, I don't really understand them since they start at a more advanced level.

Has anyone of you ever deployed a private pub/faye app on heroku and can give a step by step guide? Thanks!

like image 931
weltschmerz Avatar asked Mar 17 '13 01:03

weltschmerz


1 Answers

You can checkout my sample chat at github https://github.com/Hareramrai/batkaro. You can also checkout private_pub server code at github https://github.com/Hareramrai/fayeserver .

like image 195
Hare Ram Avatar answered Nov 15 '22 07:11

Hare Ram