Created
June 25, 2011 08:33
-
-
Save mhermans/1046292 to your computer and use it in GitHub Desktop.
Setup MongoDB + RabbitMQ + Gabriel
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
sudo apt-get -y install rabbitmq-server python-virtualenv virtualenvwrapper git mongodb libxslt-dev libxml2-dev python-dev tmux | |
git clone [email protected]:/home/mhermans/webapps/git/repos/gabriel.git | |
source $HOME/.bashr | |
mkdir $HOME/.virtualenvs | |
mkvirtualenv gabrielenv | |
workon gabrielenv | |
pip install -r gabriel/requirements.txt | |
sudo rabbitmqctl add_user gabriel gabriel | |
sudo rabbitmqctl add_vhost gabrielvhost | |
sudo rabbitmqctl set_permissions -p gabrielvhost gabriel ".*" ".*" ".*" | |
cd gabriel/gabriel | |
celeryd -c 10 | |
[andere terminal] | |
workon gabrielenv | |
cd gabriel/tests | |
python parse.py ../data/citationtestdata/Pres.xml | |
python async.py ../data/citationtestdata/Pres.xml | |
python ../gabriel/rapport.py | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment