diff options
author | Jeremy Benoist <jeremy.benoist@gmail.com> | 2016-11-03 16:41:29 +0100 |
---|---|---|
committer | Jeremy Benoist <jeremy.benoist@gmail.com> | 2016-11-03 16:41:29 +0100 |
commit | 5a619812ca3eb05a82a023ccdaee13501eb8d45f (patch) | |
tree | a1541999a3e13f9bb8b45d3a61320ee61aa4eb3c /scripts/dev.sh | |
parent | da4136557963018287cae61226e9006c3c741747 (diff) | |
parent | 84795d015b3c7e1af48a3dda3cb33cf080b66e8f (diff) | |
download | wallabag-5a619812ca3eb05a82a023ccdaee13501eb8d45f.tar.gz wallabag-5a619812ca3eb05a82a023ccdaee13501eb8d45f.tar.zst wallabag-5a619812ca3eb05a82a023ccdaee13501eb8d45f.zip |
Merge remote-tracking branch 'origin/master' into 2.2
Diffstat (limited to 'scripts/dev.sh')
-rw-r--r-- | scripts/dev.sh | 14 |
1 files changed, 10 insertions, 4 deletions
diff --git a/scripts/dev.sh b/scripts/dev.sh index 9b89da35..0703ced1 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/scripts"; 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 |