]> git.parisson.com Git - telemeta.git/commitdiff
fix app start tests
authorGuillaume Pellerin <guillaume.pellerin@ircam.fr>
Wed, 13 Apr 2016 12:06:11 +0000 (14:06 +0200)
committerGuillaume Pellerin <guillaume.pellerin@ircam.fr>
Wed, 13 Apr 2016 12:06:33 +0000 (14:06 +0200)
app/scripts/app.sh
app/scripts/worker.sh

index dc8eb5cd54bd9839cee0b646d75166f8acac4450..7a517b74b502a4659f7511768b45250f7169182c 100644 (file)
@@ -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
index 76bb465293bc2b3cad0a3fde9335e238c4b2a15c..1fc3672f9afce63da7426ea24aef965f3394e060 100644 (file)
@@ -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