diff options
author | Nicolas LÅ“uillet <nicolas@loeuillet.org> | 2016-10-27 13:55:17 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-10-27 13:55:17 +0200 |
commit | 069d39dfaffdc99db44d578250cd366b1af69fd6 (patch) | |
tree | 3707e21a1f0a4074bd9353efee7798582eeac18e /scripts/dev.sh | |
parent | f3b637fbfee2fa9f66e53cbadd05e85771eece9d (diff) | |
parent | c4d9a8d6d0db2be5c502e257bbeb963e3870d521 (diff) | |
download | wallabag-069d39dfaffdc99db44d578250cd366b1af69fd6.tar.gz wallabag-069d39dfaffdc99db44d578250cd366b1af69fd6.tar.zst wallabag-069d39dfaffdc99db44d578250cd366b1af69fd6.zip |
Merge pull request #2507 from wallabag/add-check-makefile
Added require.sh to check if composer is installed
Diffstat (limited to 'scripts/dev.sh')
-rw-r--r-- | scripts/dev.sh | 12 |
1 files changed, 9 insertions, 3 deletions
diff --git a/scripts/dev.sh b/scripts/dev.sh index 9b89da35..fa3b2d5d 100644 --- a/scripts/dev.sh +++ b/scripts/dev.sh | |||
@@ -1,7 +1,13 @@ | |||
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 | 4 | ||
5 | composer install | 5 | COMPOSER_COMMAND='composer' |
6 | |||
7 | DIR="${BASH_SOURCE%/*}" | ||
8 | if [[ ! -d "$DIR" ]]; then DIR="$PWD"; fi | ||
9 | . "$DIR/require.sh" | ||
10 | |||
11 | $COMPOSER_COMMAND install | ||
6 | php bin/console wallabag:install | 12 | php bin/console wallabag:install |
7 | php bin/console server:run | 13 | php bin/console server:run |