diff options
Diffstat (limited to 'scripts/install.sh')
-rw-r--r-- | scripts/install.sh | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/scripts/install.sh b/scripts/install.sh new file mode 100644 index 00000000..755aac1c --- /dev/null +++ b/scripts/install.sh | |||
@@ -0,0 +1,8 @@ | |||
1 | #! /usr/bin/env bash | ||
2 | |||
3 | ENV=$1 | ||
4 | TAG=$(git describe --tags $(git rev-list --tags --max-count=1)) | ||
5 | |||
6 | git checkout $TAG | ||
7 | SYMFONY_ENV=$ENV composer install --no-dev -o --prefer-dist | ||
8 | php bin/console wallabag:install --env=$ENV | ||