#! /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