From 7ac062a3de8b7c8b762ca558d2448c40856fe2ce Mon Sep 17 00:00:00 2001 From: Virak Oum Date: Wed, 9 Sep 2015 14:36:45 +0200 Subject: [PATCH 1/2] Update requirements.txt * Change celery version from 3.0.15 to 3.1.18 * Change flower version from 0.4.2 to 0.8.3 --- requirements.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/requirements.txt b/requirements.txt index c27c65c..5840791 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,2 +1,2 @@ -celery==3.0.15 -flower==0.4.2 +celery==3.1.18 +flower==0.8.3 From 9b7ad9d5b7120fbadab2cae6367b83199207fbbf Mon Sep 17 00:00:00 2001 From: Virak Oum Date: Wed, 9 Sep 2015 14:40:09 +0200 Subject: [PATCH 2/2] Edit the web process in the Procfile Due to an indirect dependency issue for flower, the auth_email method didn't work anymore. Therefore for the guides demonstration purposes, the method was changed to the basic HTTP authentication with user:password. --- Procfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Procfile b/Procfile index d9ae4b8..1164768 100644 --- a/Procfile +++ b/Procfile @@ -1,2 +1,2 @@ -web: celery flower --port=$PORT --broker=$CLOUDAMQP_URL --auth=$FLOWER_AUTH_EMAIL +web: celery flower --port=$PORT --broker=$CLOUDAMQP_URL --basic_auth=$AUTH_USER:$AUTH_PW worker: celery -A tasks worker --loglevel=info