Laravel
De Hegyd Doc.
(Différences entre les versions)
(→Installation bower) |
(→Installation nodejs et npm) |
||
| Ligne 18 : | Ligne 18 : | ||
== Installation nodejs et npm == | == Installation nodejs et npm == | ||
| + | NodeJS 0.10 | ||
<pre>curl -sL https://deb.nodesource.com/setup | bash - | <pre>curl -sL https://deb.nodesource.com/setup | bash - | ||
apt-get install -y nodejs | apt-get install -y nodejs | ||
| Ligne 23 : | Ligne 24 : | ||
</pre> | </pre> | ||
| + | |||
| + | NodeJS 4 | ||
| + | <pre>curl -sL https://deb.nodesource.com/setup_4.x | bash - | ||
| + | apt-get install -y nodejs | ||
| + | apt-get install npm | ||
| + | </pre> | ||
Il faudra forcer l'update de npm | Il faudra forcer l'update de npm | ||
Version du 20 juillet 2017 à 16:39
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
NodeJS 0.10
curl -sL https://deb.nodesource.com/setup | bash - apt-get install -y nodejs apt-get install npm
NodeJS 4
curl -sL https://deb.nodesource.com/setup_4.x | bash - apt-get install -y nodejs apt-get install npm
Il faudra forcer l'update de npm
npm -g install npm@latest
Installation bower et tig
npm install -g bower apt-get install tig
