]> git.immae.eu Git - github/wallabag/wallabag.git/commitdiff
Add environment variables to control scripts/dev.sh behavior 4152/head
authorLuc Didry <luc@didry.org>
Wed, 9 Oct 2019 17:33:27 +0000 (19:33 +0200)
committerLuc Didry <luc@didry.org>
Wed, 9 Oct 2019 17:33:27 +0000 (19:33 +0200)
scripts/dev.sh

index 28453be0d63cadeefbdd0e086e68b7c55bfe810b..cc465cf9877aac24a10997ff52af1c0339df0766 100755 (executable)
@@ -13,5 +13,8 @@ fi
 . "$REQUIRE_FILE"
 
 $COMPOSER_COMMAND install
-php bin/console wallabag:install
-php bin/console server:run
+if [ -z "$SKIP_WALLABAG_INITIALIZATION" ]
+then
+    php bin/console wallabag:install
+fi
+php bin/console server:run $HOST