From 4e7863c6aa0010c22e471a84859217e1ca8227b8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Nicolas=20L=C5=93uillet?= Date: Sun, 9 Oct 2016 21:50:15 +0200 Subject: Created scripts folder to store update/install/release process --- scripts/install.sh | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 scripts/install.sh (limited to 'scripts/install.sh') 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 @@ +#! /usr/bin/env bash + +ENV=$1 +TAG=$(git describe --tags $(git rev-list --tags --max-count=1)) + +git checkout $TAG +SYMFONY_ENV=$ENV composer install --no-dev -o --prefer-dist +php bin/console wallabag:install --env=$ENV -- cgit v1.2.3 From 7c1225347db8b516cc268709939f6b359bc283c1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Nicolas=20L=C5=93uillet?= Date: Mon, 10 Oct 2016 10:20:32 +0200 Subject: Update documentation --- scripts/install.sh | 2 ++ 1 file changed, 2 insertions(+) (limited to 'scripts/install.sh') diff --git a/scripts/install.sh b/scripts/install.sh index 755aac1c..54d0bb78 100644 --- a/scripts/install.sh +++ b/scripts/install.sh @@ -1,4 +1,6 @@ #! /usr/bin/env bash +# You can execute this file to install wallabag +# eg: `sh install.sh prod` ENV=$1 TAG=$(git describe --tags $(git rev-list --tags --max-count=1)) -- cgit v1.2.3