install python from brew
brew install pythoncreate virtualenv in python-server drectory :
virtualenv --python /usr/local/Cellar/python/2.7.8_1/bin/python2.7 --no-site-packages venvrun virutalenv:
. ./venv/bin/activateInstall application:
cd server
python setup.py installrun virutalenv:
. ./venv/bin/activaterun server:
websockets-server --host localhost --port 8080 --stdiorun virutalenv:
. ./venv/bin/activaterun application
python example/hub/__init__.py --host localhost --port 8080 --stdio