From: Guillaume Pellerin Date: Wed, 13 Apr 2016 12:06:11 +0000 (+0200) Subject: fix app start tests X-Git-Tag: 1.6.1~1^2~7 X-Git-Url: https://git.parisson.com/?a=commitdiff_plain;h=45a447eb7dcc57c4e0e0051cc4c8f2ba865d9386;p=telemeta.git fix app start tests --- 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