Check out this branch: https://github.com/bgruening/galaxy/tree/rt_comm
Install some requirements into Galaxy's virtualenv:
. GALAXY_ROOT/.venv/bin/activate
pip install flask flask-socketio eventlet
Start the communication server with
./scripts/communication_server.py
Start your Galaxy instance and login with some user. You will see a new icon in the masthead. Try ti!