]> git.parisson.com Git - telemeta.git/commitdiff
once init commands 1.6.1
authorGuillaume Pellerin <guillaume.pellerin@ircam.fr>
Wed, 13 Apr 2016 14:27:33 +0000 (16:27 +0200)
committerGuillaume Pellerin <guillaume.pellerin@ircam.fr>
Wed, 13 Apr 2016 14:27:33 +0000 (16:27 +0200)
app/scripts/app.sh

index d48a25c13face8ca8875b9affc94ed3be7900f27..c78b275b6ded5df28582052301617c9f6178ad52 100644 (file)
@@ -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