diff options
author | Luc Didry <luc@didry.org> | 2019-10-09 19:33:27 +0200 |
---|---|---|
committer | Luc Didry <luc@didry.org> | 2019-10-09 19:33:27 +0200 |
commit | 488e3d7a915dcdce37fe4af14f33293edcb4fbdb (patch) | |
tree | 04e1045e496b20c4eb28e100d281900b1bc67611 /scripts | |
parent | afe486531d4dfffff7522efecdff1bcf18d13994 (diff) | |
download | wallabag-488e3d7a915dcdce37fe4af14f33293edcb4fbdb.tar.gz wallabag-488e3d7a915dcdce37fe4af14f33293edcb4fbdb.tar.zst wallabag-488e3d7a915dcdce37fe4af14f33293edcb4fbdb.zip |
Add environment variables to control scripts/dev.sh behavior
Diffstat (limited to 'scripts')
-rwxr-xr-x | scripts/dev.sh | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/scripts/dev.sh b/scripts/dev.sh index 28453be0..cc465cf9 100755 --- a/scripts/dev.sh +++ b/scripts/dev.sh | |||
@@ -13,5 +13,8 @@ fi | |||
13 | . "$REQUIRE_FILE" | 13 | . "$REQUIRE_FILE" |
14 | 14 | ||
15 | $COMPOSER_COMMAND install | 15 | $COMPOSER_COMMAND install |
16 | php bin/console wallabag:install | 16 | if [ -z "$SKIP_WALLABAG_INITIALIZATION" ] |
17 | php bin/console server:run | 17 | then |
18 | php bin/console wallabag:install | ||
19 | fi | ||
20 | php bin/console server:run $HOST | ||