Skip to content

Instantly share code, notes, and snippets.

@ksamuel
Created March 17, 2011 18:29
Show Gist options
  • Save ksamuel/874857 to your computer and use it in GitHub Desktop.
Save ksamuel/874857 to your computer and use it in GitHub Desktop.
# mkvirtualenv vumi --no-site-packages
git clone git://github.com/praekelt/vumi.git
cd vumi
sudo apt-get install rabbitmq-server python-psychopg2
sudo ./rabbitmq.setup.sh
# comment psycopg2 in ./vumiconfig/requirements.pip then
pip install -r ./vumiconfig/requirements.pip
python ./setup.py develop
# Setup example for the twiter transport
# checkout the twitter branch
git checkout -b topics/smn-twitter-transport
git pull origin topics/smn-twitter-transport
# create a config/twitter.yaml config file
# term is specific to the twitter transport looking got this keywords
cat "
username: vumiapp
password: vumiapp123
terms:
- libya
" > config/twitter.yaml config file
mkdir ./logs/
mkdir -p tmp/pids/
supervisord -c supervisord.twitter.cfg
supervisorctl -c supervisord.twitter.cfg
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment