public
Description: Code samples for the Flex on Rais book.
Homepage: http://flexonrais.com
Clone URL: git://github.com/danielwanja/flexonrails.git
flexonrails / 20_Server_Push_with_Juggernaut
name age message
..
file README Loading commit data...
directory flex/
directory rails/
20_Server_Push_with_Juggernaut/README
This is the code used for chapter 20 - Server Push with Juggernaut.

On the Rails side you will need to install the follow gems

$ sudo gem install json
$ sudo gem install eventmachine
$ sudo gem install juggernaut

Install the juggernaut plugin
$ ./script/plugin install git://github.com/maccman/juggernaut_plugin.git

Configure and start juggernaut

$ juggernaut -g config/juggernaut.yml
$ juggernaut -c config/juggernaut.yml

Start Rails: ./script/server

On the Flex side the main application is IM.mxml and is a simplistic chat client.