Created
March 17, 2011 18:29
-
-
Save ksamuel/874857 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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