X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;ds=inline;f=install.sh;h=901b34463bb091245b622752b59fad22fc990302;hb=5334381509990ea5a5351575abf163c3b6c9dc18;hp=87d53bf09e7f3b4a822c7492cf75c6ce06c62704;hpb=4ac780eb21f1cceeca34e698e6865d49ec7d3ee8;p=github%2Fwallabag%2Fwallabag.git diff --git a/install.sh b/install.sh index 87d53bf0..901b3446 100755 --- a/install.sh +++ b/install.sh @@ -1,13 +1,6 @@ #! /usr/bin/env bash -echo " > Installing PHP dependencies through Composer..." -composer install --no-interaction --no-progress --prefer-dist -o --no-dev - -chmod ugo+x vendor/mouf/nodejs-installer/bin/local/npm -echo " > Downloading librairies through npm..." -vendor/mouf/nodejs-installer/bin/local/npm install - -echo " > Concat, minify and installing assets..." -node_modules/grunt/bin/grunt - -echo " > Install finished" +TAG=$(git describe --tags $(git rev-list --tags --max-count=1)) +git checkout $TAG +SYMFONY_ENV=prod composer install --no-dev -o --prefer-dist +php bin/console wallabag:install --env=prod