diff options
author | Nicolas LÅ“uillet <nicolas@loeuillet.org> | 2016-10-27 09:53:09 +0200 |
---|---|---|
committer | Nicolas LÅ“uillet <nicolas@loeuillet.org> | 2016-10-27 09:53:09 +0200 |
commit | 9998c725330b4a99d6d12df60ac8234052e80b6a (patch) | |
tree | 7e1c3691482fd262d02884f0c6ceadeb260757bc /scripts/dev.sh | |
parent | f3b637fbfee2fa9f66e53cbadd05e85771eece9d (diff) | |
download | wallabag-9998c725330b4a99d6d12df60ac8234052e80b6a.tar.gz wallabag-9998c725330b4a99d6d12df60ac8234052e80b6a.tar.zst wallabag-9998c725330b4a99d6d12df60ac8234052e80b6a.zip |
Added require.sh to check if composer is installed
Diffstat (limited to 'scripts/dev.sh')
-rw-r--r-- | scripts/dev.sh | 8 |
1 files changed, 6 insertions, 2 deletions
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 @@ | |||
1 | #! /usr/bin/env bash | 1 | #! /usr/bin/env bash |
2 | # You can execute this file to install wallabag dev environmnet | 2 | # You can execute this file to install wallabag dev environment |
3 | # eg: `sh install.sh prod` | 3 | # eg: `sh dev.sh` |
4 | |||
5 | DIR="${BASH_SOURCE%/*}" | ||
6 | if [[ ! -d "$DIR" ]]; then DIR="$PWD"; fi | ||
7 | . "$DIR/require.sh" | ||
4 | 8 | ||
5 | composer install | 9 | composer install |
6 | php bin/console wallabag:install | 10 | php bin/console wallabag:install |