mirror of
https://github.com/wallabag/wallabag.git
synced 2024-11-23 09:31:04 +00:00
4ac780eb21
Add `--no-dev` to `composer install` for prod env
13 lines
417 B
Bash
Executable file
13 lines
417 B
Bash
Executable file
#! /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"
|