]> git.immae.eu Git - github/wallabag/wallabag.git/blame - install.sh
Fixed CSS for quickstart links
[github/wallabag/wallabag.git] / install.sh
CommitLineData
5ecdfcd0
TC
1#! /usr/bin/env bash
2
04d5c602 3if [[ $ASSETS == 'build' ]]; then
5ecdfcd0 4 echo "Installing PHP dependencies through Composer..."
04d5c602 5 composer install --no-interaction --no-progress --prefer-dist -o
5ecdfcd0
TC
6
7 chmod ugo+x vendor/mouf/nodejs-installer/bin/local/npm
b4118f66 8 echo "Downloading librairies through npm..."
5ecdfcd0
TC
9 vendor/mouf/nodejs-installer/bin/local/npm install
10
5ecdfcd0
TC
11 echo "Concat, minify and installing assets..."
12 node_modules/grunt/bin/grunt
04d5c602
JB
13else
14 composer install --no-interaction --no-progress --prefer-dist -o
5ecdfcd0 15fi