X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;ds=sidebyside;f=install.sh;h=fad8b4c092c0119ac444c9c39f7def63322431f6;hb=ee32248f43baef7e995c9e420cd00a137e626cf0;hp=a486e8a5b565ec0c70da7e8e83365aa1f9722a49;hpb=637aa17e6b52dd8021854a809053560a27caca72;p=github%2Fwallabag%2Fwallabag.git diff --git a/install.sh b/install.sh index a486e8a5..fad8b4c0 100755 --- a/install.sh +++ b/install.sh @@ -1,18 +1,13 @@ #! /usr/bin/env bash -if [[ $ASSETS == 'build' ]]; then - echo "Installing PHP dependencies through Composer..." - composer install --no-interaction --no-progress --prefer-dist -o +echo " > Installing PHP dependencies through Composer..." +SYMFONY_ENV=prod composer install --no-interaction --no-progress --prefer-dist -o --no-dev - chmod ugo+x vendor/mouf/nodejs-installer/bin/local/npm - echo "Downloading javascript librairies through npm..." - vendor/mouf/nodejs-installer/bin/local/npm install +chmod ugo+x vendor/mouf/nodejs-installer/bin/local/npm +echo " > Downloading librairies through npm..." +vendor/mouf/nodejs-installer/bin/local/npm install - echo "Downloading fonts librairies through bower..." - node_modules/bower/bin/bower install +echo " > Concat, minify and installing assets..." +node_modules/grunt/bin/grunt - echo "Concat, minify and installing assets..." - node_modules/grunt/bin/grunt -else - composer install --no-interaction --no-progress --prefer-dist -o -fi +echo " > Install finished"