eve-live on Heroku

February 10th 2013

Thanks to the excellent NodeJS/ZeroMQ buildpack for Heroku by Luke Petre I was able to deploy eve-live to Heroku within minutes. The only change required was to set Socket.IO to use XHR long polling, since the Cedar stack currently does not support WebSockets:

    
        // assuming io is the Socket.IO server object
        io.configure(function () {
          io.set("transports", ["xhr-polling"]);
          io.set("polling duration", 10);
        });
    

You can access the new hosted version of eve-live at live.zweizeichen.org. Documentation for its API can be found here.

Have fun,
zweizeichen