]> git.immae.eu Git - github/wallabag/wallabag.git/commitdiff
Merge pull request #4152 from ldidry/add-env-var-dev.sh
authorJérémy Benoist <j0k3r@users.noreply.github.com>
Tue, 19 Nov 2019 13:24:35 +0000 (14:24 +0100)
committerGitHub <noreply@github.com>
Tue, 19 Nov 2019 13:24:35 +0000 (14:24 +0100)
Add environment variables to control scripts/dev.sh behavior

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