Différences entre versions de « Spark.IO-CLI »

De MCHobby - Wiki
Sauter à la navigation Sauter à la recherche
Ligne 2 : Ligne 2 :
  
 
{{traduction}}
 
{{traduction}}
 +
== Qu'est ce que Spark CLI? ==
 +
The Spark CLI is a powerful tool for interacting with your cores and the Spark Cloud. The CLI uses [http://nodejs.org/ node.js] and can run on Windows, Mac OS X, and Linux fairly easily. It's also [https://github.com/spark/spark-cli open source] (''GitHub, Spark.IO'') so you can edit and change it, and even send in your changes as pull requests if you want to share!
 +
 +
== Installation ==
 +
 +
First, make sure you have [http://nodejs.org/ node.js] installed!
 +
 +
Next, open a command prompt or terminal, and install by typing:
 +
 +
<nowiki># Comment installer spark-cli
 +
$ npm install -g spark-cli
 +
$ spark cloud login</nowiki>
 +
 +
== Installation avancée ==
 +
To use the local flash and key features you'll also need to install [http://dfu-util.sourceforge.net/ dfu-util], and [http://www.openssl.org/ openssl]. They are freely available and open-source, and there are installers and binaries for most major platforms.
 +
 +
Here are some great tutorials on the community for full installs:
 +
 +
* [https://community.spark.io/t/how-to-install-spark-cli-on-ubuntu-12-04/3474 Installing on Ubuntu 12.04]
 +
 +
* [https://community.spark.io/t/how-to-install-the-spark-toolchain-in-ubuntu-14-04/4139 Installing on Ubuntu 14.04]
 +
 +
* [https://community.spark.io/t/tutorial-spark-cli-on-windows-06-may-2014/3112 Installing on Windows]
 +
 +
== Mise-à-jour le CLI ==
 +
Pour faire une mise-à-jour de Spark-CLI, il faut exécuter la commande suivante:
 +
 +
<nowiki># Comment mettre-à-jour votre Spark-Cli
 +
$ npm update -g spark-cli</nowiki>
 +
 +
== Avancé: exécuter le CLI depuis les sources ==
 +
To grab the CLI source and play with it locally
 +
 +
<nowiki># Comment prendre les sources pour le CLI
 +
$ git clone git@github.com:spark/spark-cli.git
 +
$ cd spark-cli/js
 +
$ node app.js help</nowiki>
  
 
{{Spark.IO-CLI-TRAILER}}
 
{{Spark.IO-CLI-TRAILER}}

Version du 21 décembre 2014 à 19:06


MCHobby investit du temps et de l'argent dans la réalisation de traduction et/ou documentation. C'est un travail long et fastidieux réalisé dans l'esprit Open-Source... donc gratuit et librement accessible.
SI vous aimez nos traductions et documentations ALORS aidez nous à en produire plus en achetant vos produits chez MCHobby.

Qu'est ce que Spark CLI?

The Spark CLI is a powerful tool for interacting with your cores and the Spark Cloud. The CLI uses node.js and can run on Windows, Mac OS X, and Linux fairly easily. It's also open source (GitHub, Spark.IO) so you can edit and change it, and even send in your changes as pull requests if you want to share!

Installation

First, make sure you have node.js installed!

Next, open a command prompt or terminal, and install by typing:

# Comment installer spark-cli
$ npm install -g spark-cli
$ spark cloud login

Installation avancée

To use the local flash and key features you'll also need to install dfu-util, and openssl. They are freely available and open-source, and there are installers and binaries for most major platforms.

Here are some great tutorials on the community for full installs:

Mise-à-jour le CLI

Pour faire une mise-à-jour de Spark-CLI, il faut exécuter la commande suivante:

# Comment mettre-à-jour votre Spark-Cli
$ npm update -g spark-cli

Avancé: exécuter le CLI depuis les sources

To grab the CLI source and play with it locally

# Comment prendre les sources pour le CLI
$ git clone git@github.com:spark/spark-cli.git
$ cd spark-cli/js
$ node app.js help

Source: Spark CLI (command line interface) créé par Spark.IO.

Traduction réalisée et augmentée par Meurisse D pour MCHobby.be - Translated and upsized by Meurisse D. for MCHobby.be

Traduit avec l'autorisation de Spark.IO - Translated with the permission from Spark.IO - Spark.IO

Toute référence, mention ou extrait de cette traduction doit être explicitement accompagné du texte suivant : «  Traduction par MCHobby (www.MCHobby.be) - Vente de kit et composants » avec un lien vers la source (donc cette page) et ce quelque soit le média utilisé.

L'utilisation commercial de la traduction (texte) et/ou réalisation, même partielle, pourrait être soumis à redevance. Dans tous les cas de figures, vous devez également obtenir l'accord du(des) détenteur initial des droits. Celui de MC Hobby s'arrêtant au travail de traduction proprement dit.