2016-03-08 17:02:34 +01:00
|
|
|
#! /usr/bin/env bash
|
|
|
|
|
|
2016-10-03 14:33:05 +02:00
|
|
|
echo " > Installing PHP dependencies through Composer..."
|
2016-10-03 18:13:40 +02:00
|
|
|
SYMFONY_ENV=prod composer install --no-interaction --no-progress --prefer-dist -o --no-dev
|
2016-10-03 14:33:05 +02:00
|
|
|
|
|
|
|
|
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"
|