From 45a447eb7dcc57c4e0e0051cc4c8f2ba865d9386 Mon Sep 17 00:00:00 2001 From: Guillaume Pellerin Date: Wed, 13 Apr 2016 14:06:11 +0200 Subject: [PATCH] fix app start tests --- app/scripts/app.sh | 4 ++-- app/scripts/worker.sh | 3 ++- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/app/scripts/app.sh b/app/scripts/app.sh index dc8eb5cd..7a517b74 100644 --- a/app/scripts/app.sh +++ b/app/scripts/app.sh @@ -31,7 +31,7 @@ python $manage collectstatic --noinput python $manage telemeta-create-admin-user python $manage telemeta-create-boilerplate -if [ $DEBUG == "False" ] +if [ $DEBUG = "False" ] then python $manage update_index --workers $processes & if [ ! -f .init ] @@ -41,7 +41,7 @@ then fi fi -if [ $1 == "--runserver" ] +if [ $1 = "--runserver" ] then python $manage runserver_plus 0.0.0.0:8000 else diff --git a/app/scripts/worker.sh b/app/scripts/worker.sh index 76bb4652..1fc3672f 100644 --- a/app/scripts/worker.sh +++ b/app/scripts/worker.sh @@ -9,7 +9,8 @@ wsgi=$app'/wsgi.py' # pip install django-environ redis # waiting for other services -sh $app/scripts/wait.sh +sh $app/scripts/w +ait.sh # Starting celery worker with the --autoreload option will enable the worker to watch for file system changes # This is an experimental feature intended for use in development only -- 2.39.5