Commit 3477338827b11a8c137ef580d621a7f4cf564e46
1 parent
64781e7e
Exists in
master
and in
29 other branches
Moved from rabbitmq to redis
Signed-off-by: Sergio Oliveira <sergio@tracy.com.br>
Showing
4 changed files
with
7 additions
and
6 deletions
Show diff stats
colab/settings.py
... | ... | @@ -8,7 +8,8 @@ For the full list of settings and their values, see |
8 | 8 | https://docs.djangoproject.com/en/1.7/ref/settings/ |
9 | 9 | """ |
10 | 10 | |
11 | -BROKER_URL = 'amqp://guest:guest@localhost:5672/' | |
11 | +BROKER_URL = 'redis://localhost:6379/0' | |
12 | +CELERY_RESULT_BACKEND = 'redis://localhost:6379/0' | |
12 | 13 | |
13 | 14 | # Build paths inside the project like this: os.path.join(BASE_DIR, ...) |
14 | 15 | import os | ... | ... |
setup.py
vagrant/centos.sh
... | ... | @@ -22,9 +22,9 @@ yum install -y epel-release |
22 | 22 | |
23 | 23 | yum -y groupinstall "Development tools" |
24 | 24 | |
25 | -yum install -y git unzip gettext libxml2-devel libxslt-devel openssl-devel libffi-devel python-devel python-pip python-virtualenvwrapper rabbitmq-server | |
25 | +yum install -y git unzip gettext libxml2-devel libxslt-devel openssl-devel libffi-devel python-devel python-pip python-virtualenvwrapper redis-server | |
26 | 26 | |
27 | 27 | |
28 | 28 | ### Init Rabbitmq |
29 | -chkconfig rabbitmq-server on | |
30 | -systemctl start rabbitmq-server | |
29 | +chkconfig redis-server on | |
30 | +systemctl start redis-server | ... | ... |
vagrant/ubuntu.sh
... | ... | @@ -5,4 +5,4 @@ set -ex |
5 | 5 | ### Install dependencies |
6 | 6 | apt-get update |
7 | 7 | |
8 | -apt-get install curl git unzip build-essential gettext libxml2-dev libxslt1-dev libssl-dev libffi-dev python-dev virtualenvwrapper python-pip rabbitmq-server -y | |
8 | +apt-get install curl git unzip build-essential gettext libxml2-dev libxslt1-dev libssl-dev libffi-dev python-dev virtualenvwrapper python-pip redis-server -y | ... | ... |