Skip to main content

How do i make chat app real time on Digital Ocean?

Rails • Asked by Malav Desai
I am trying to make a Chat web application based on Rails 4.0 using "private_pub" gem which works perfectly on my localhost server. You can check out my application at curatethelens.com. Now my site is hosted on DigitalOcean and i want to push chat code on the server to see how real-time chat app will work.

My question is What should i have to do to make it work on any Linux server ( Here Digital Ocean for me). I am using Nginx server on DigitalOcean.

What should i use as FAYE_URL in place of the server: in private_pub.yml file? And Do i have to run rack command on my server terminal? Or is there any other way to host Faye on a different server then curatethelens.com ?


Login or Create An Account to join the conversation.

Subscribe to the newsletter

Join 24,647+ developers who get early access to new screencasts, articles, guides, updates, and more.

    By clicking this button, you agree to the GoRails Terms of Service and Privacy Policy.

    More of a social being? We're also on Twitter and YouTube.