X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=scripts%2Fdev.sh;h=9f5b2432bebb04eafef732d14ee0f54226384891;hb=9998c725330b4a99d6d12df60ac8234052e80b6a;hp=9b89da35faf2aa18ee70408312659f072ecacc7a;hpb=f48a6f3a542613d68d7f8d12dfe9abe397c48db2;p=github%2Fwallabag%2Fwallabag.git diff --git a/scripts/dev.sh b/scripts/dev.sh index 9b89da35..9f5b2432 100644 --- a/scripts/dev.sh +++ b/scripts/dev.sh @@ -1,6 +1,10 @@ #! /usr/bin/env bash -# You can execute this file to install wallabag dev environmnet -# eg: `sh install.sh prod` +# You can execute this file to install wallabag dev environment +# eg: `sh dev.sh` + +DIR="${BASH_SOURCE%/*}" +if [[ ! -d "$DIR" ]]; then DIR="$PWD"; fi +. "$DIR/require.sh" composer install php bin/console wallabag:install