From: Guillaume Pellerin Date: Wed, 13 Apr 2016 14:27:33 +0000 (+0200) Subject: once init commands X-Git-Tag: 1.6.1 X-Git-Url: https://git.parisson.com/?a=commitdiff_plain;h=5b462168f6007bde238d94b7b4ea445a2f70123b;p=telemeta.git once init commands --- diff --git a/app/scripts/app.sh b/app/scripts/app.sh index d48a25c1..c78b275b 100644 --- a/app/scripts/app.sh +++ b/app/scripts/app.sh @@ -28,8 +28,6 @@ python $manage syncdb --noinput python $manage migrate --noinput python $manage bower_install -- --allow-root python $manage collectstatic --noinput -python $manage telemeta-create-admin-user -python $manage telemeta-create-boilerplate if [ $DEBUG = "False" ] then @@ -37,6 +35,8 @@ then if [ ! -f .init ] then chown -R www-data:www-data $media + python $manage telemeta-create-admin-user + python $manage telemeta-create-boilerplate touch .init fi fi