dploy

npm install dploy -g​ dploy –version dev: scheme: ftp host: ftp.dev-server.com port: 21 user: user pass: password check: true path: local: release/ remote: www/ prod: scheme: ftp host: ftp.prod-server.com port: 21 user: user pass: password check: true path: local: release/ remote: www/ dploy or dploy stage dev

Mutualisé OVH

Connexion en SSH (depuis Linux et Mac OS) : $ ssh VotreLoginFtp@VotreServeurFtp Lien vers les guides OVH pour serveurs mutualisés

Homebrew

Un gestionnaire de paquets pour macOS Installer Homebrew (brew) : Installer un paquet : Chercher un paquet : Afficher tous les paquets disponibles : Afficher tous les paquets installés : Mettre à jour la liste des paquets : Supprimer le paquet : http://brew.sh/ Erreurs : Error: A newer Command Line Tools release is available.Update them… Continue reading Homebrew

MailCatcher

Installer MailCatcher : $ gem install mailcatcher $mailcatcher Go to http://localhost:1080/ Send mail through smtp://localhost:1025 $ mailcatcher –help Run mailcatcher, set your favourite app to deliver to smtp://127.0.0.1:1025 instead of your default SMTP server, then check out http://127.0.0.1:1080 to see the mail that’s arrived so far.

MAMP

Se connecter à la MySQL via le terminal : /Applications/MAMP/Library/bin/mysql –host=localhost -uroot -proot Afficher les bases de données : show databases;

PATH – Variable d’environnement

Afficher la liste des shells disponibles sur votre système : $ cat /etc/shells Ajouter un emplacement au PATH: $ nano .bash_profile $ export PATH=”/usr/local/mysql/bin:$PATH” Emplacement de NodeJS et NPM (À ajouter) : /usr/local/bin Afficher son PATH : echo $PATH Mon PATH : /usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/opt/X11/bin:/opt/ImageMagick/bin:/Applications/MAMP/Library/bin /usr/local/bin: /usr/bin: /bin: /usr/sbin: /sbin: /opt/X11/bin: /opt/ImageMagick/bin: /Applications/MAMP/Library/bin

Cordova

Mettre a jour Cordova : $ sudo npm update -g cordova A tester : https://ionic.io/ (framework pour cordova) http://ngcordova.com (besoin de bower apparement, utilise ionic + angularjs + cordova)

PhoneGap

Installer PhoneGap (NodeJS doit deja être installer) : Utiliser PhoneGap :