Laravel

De Hegyd Doc.

(Différences entre les versions)
(Installation nodejs et npm)
Ligne 31 : Ligne 31 :
== Installation bower ==
== Installation bower ==
<pre>npm install -g bower</pre>
<pre>npm install -g bower</pre>
 +
 +
[[Catégorie:Administration serveurs]]

Version du 17 juin 2016 à 12:48

Installation de composer

http://www.johnstyle.fr/composer-installation-sur-debian-7

Télécharger composer

apt-get update && apt-get install curl
curl -s https://getcomposer.org/installer | php

Déplacer composer dans le dossier /usr/local/bin/

mv composer.phar /usr/local/bin/composer

Composer est installé

composer --version

Installation nodejs et npm

curl -sL https://deb.nodesource.com/setup | bash -
apt-get install -y nodejs
apt-get install npm

Il faudra forcer l'update de npm

npm -g install npm@latest

Installation bower

npm install -g bower