Comment exécuter le botkit Slack sous Windows?

Je crée une nouvelle application de botkit Slack et j’ai des problèmes avec le processus d’installation.

Node.js et la dépendance aux nœuds sont correctement installés sur mon système Windows 7.

https://github.com/howdyai/botkit

Puis l’étape 4, je lance cette commande

c:\bot\botkit > token=REPLACE_THIS_WITH_YOUR_TOKEN node bot.js (I replaced with my api key.) 

Dans mon invite de commande, il dit ceci:

 'token' is not recognized as an internal or external command, operable program or batch file. 

Je pense que cela pour la commande Linux ou Mac, alors comment fonctionne-t-il sous Windows?

J’ai trouvé la solution:

 c:\bot\botkit > set token=REPLACE_THIS_WITH_YOUR_TOKEN 

Alors:

 c:\bot\botkit > node bot.js 

Cela semble fonctionner.

Les cornières n’étaient pas nécessaires.