From ab078f72b49f091858c4ced4ee742d6ee93058fd Mon Sep 17 00:00:00 2001 From: Owain Jones <owanes@noc.ac.uk> Date: Tue, 9 Feb 2016 11:28:44 +0000 Subject: [PATCH] added uglifycss/uglifyjs packages --- install.sh | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/install.sh b/install.sh index 287ac48..833d727 100644 --- a/install.sh +++ b/install.sh @@ -55,16 +55,18 @@ systemctl enable elasticsearch yum install MySQL-python python-sqlalchemy # Install PHP -yum install php php-fpm php-apc php-pdo php-mcrypt php-mbstring +yum install php php-fpm php-apc php-pdo php-mcrypt php-mbstring php-pecl-runkit cp php.ini /etc/php.ini cp php-d-fpm.ini /etc/php.d/fpm.ini cp php-fpm-www.conf /etc/php-fpm.d/www.conf systemctl enable php-fpm -# Install NodeJS, NPM, Bower +# Install NodeJS, NPM, Bower and some tools for shrinking down +# javascript and CSS yum install nodejs npm npm install -g bower -npm install -g grunt-cli +npm install -g uglifyjs +npm install -g uglifycss # As for the webserver -- either apache or nginx... # nginx is nice and fast, apache gets better support from -- GitLab