A script for maintaining persistant google hangouts. (We use this for connecting a remote office.)
Make sure you are running python 2.7: http://www.python.org/download
Create an unhangout conference room at http://unhangout.media.mit.edu/h/
Make sure you have git http://git-scm.com/
Make a directory where you will store hangout (suggestions below):
mkdir ~/projects mkdir ~/projects/hangout cd ~/projects git clone https://github.com/therealtomrose/hangout.git hangout
Do this where the project will live e.g. 'hangout' - install virtualenv:
sudo easy_install pip sudo pip install virtualenv
install a new virtual environment in the directory where the project will live:
cd ~/projects virtualenv --no-site-packages hangout/venv sudo pip install -U versiontools
configure the local python path:
echo 'export PYTHONPATH=$PYTHONPATH:~/projects/hangout' >> ~/projects/hangout/vevn/bin/activate echo 'export PATH=~/projects/hangout:$PATH' >> ~/projects/hangout/venv/bin/activate
Run the pip installer with a requirements file.:
cd ~/projects/hangout source bin/activate sudo pip install -r requirements.txt
Make a copy of the settings template file and enter your local settings.:
cd ~/projects/hangout cp settings_local.template settings_local.py
cd ~/projects/hangout source venv/bin/activate
python hangout.py