Modifications

Sauter à la navigation Sauter à la recherche
179 octets ajoutés ,  2 avril 2017 à 12:01
aucun résumé de modification
Ligne 2 : Ligne 2 :     
{{traduction}}
 
{{traduction}}
Firstly open up a secure shell into your Pi or open up a console session if you are working directly from the Pi.
+
Nous allons commencer par ouvrir un session secure shell (SSH) sur notre Pi (ou ouvrir une console directement sur le Pi).
   −
We then need to get ourselves a working copy of Node.js. Node.js is a an event driven server side javascript environment. It is essentially the foundation that Node-Red will run on.
+
Nous allons ensuite installer une version de Node.js pouvant fonctionner sur notre Pi. Node.js est un environnement javascript serveur de type événementiel (piloté par des événements). Node.js est la fondation sur laquelle s'appuie Node-Red.
   −
For the Pi it has been a pain in the past to get Node.js running but luckily there have been some tweaks made by the clever people out there that make our lives easier.
+
Par la passé, il était vraiment difficile d'obtenir une version stable de Node.js pour Raspberry-Pi. Par bonheur, quelques personnes intelligentes se sont penchées sur le problème pour nous rendre la vie plus facile.
   −
So go ahead and run the following commands in your terminal window, which will ensure our Pi is up to date and ready to go.
+
Passons à la suite et exécutons les commandes suivantes sur une invite de commande. Nous allons commercer par faire une mise-à-jour de notre Pi.
    
<syntaxhighlight lang="bash">
 
<syntaxhighlight lang="bash">
Ligne 15 : Ligne 15 :  
</syntaxhighlight>
 
</syntaxhighlight>
   −
We then jump in to downloading the latest Pi compatible version of Node.js.  
+
Nous allons ensuite télécharger la dernière version compatible Pi de Node.js.  
    
<syntaxhighlight lang="bash">
 
<syntaxhighlight lang="bash">
Ligne 21 : Ligne 21 :  
</syntaxhighlight>
 
</syntaxhighlight>
   −
Due to the download being in a convenient Debian package we can run the install by simply performing the following command.  
+
Comme l'élément téléchargé est un paquet Debian nous pouvons l'installer facilement à l'aide de la commande suivante.  
    
<syntaxhighlight lang="bash">
 
<syntaxhighlight lang="bash">
Ligne 27 : Ligne 27 :  
</syntaxhighlight>
 
</syntaxhighlight>
   −
Once the installation has run through you can check to see if node.js is available and installed by calling its version as shown below.
+
Une fois l'installer terminée, vous pouvez vérifier la disponibilité de node.js en affichant son numéro de version comme indiqué sur la commande suiavnte:
    
<syntaxhighlight lang="bash">
 
<syntaxhighlight lang="bash">
29 918

modifications

Menu de navigation