From e0293142c7c56ccd7ed40c8da992161b654eac20 Mon Sep 17 00:00:00 2001
From: "guilhem.carron" <gcarron@grandlyon.com>
Date: Tue, 5 Apr 2022 14:38:05 +0200
Subject: [PATCH] add node 16 doc

---
 .../getting_started/setup_your_environment.md | 30 ++++++++++++++++++-
 .../functionalities/routes.md                 |  2 +-
 .../launch_local_application.md               | 16 +++++-----
 3 files changed, 39 insertions(+), 9 deletions(-)

diff --git a/docs/ecolyo/getting_started/setup_your_environment.md b/docs/ecolyo/getting_started/setup_your_environment.md
index ee51f0b..cd6ea79 100644
--- a/docs/ecolyo/getting_started/setup_your_environment.md
+++ b/docs/ecolyo/getting_started/setup_your_environment.md
@@ -75,10 +75,38 @@ Installation for Git can be found here: [Installation of Git](https://git-scm.co
 
 ## Node
 
-For this project, Node version 14 is required.Download [node-v14](https://nodejs.org/en/download/).
+For this project, Node version 16 is required.Download [node-v16](https://nodejs.org/en/download/).
 
 Node.js® is a JavaScript runtime built on Chrome's V8 JavaScript engine.
 
+You might need to manage several NodeJS versions on the same computer as such as your work on different projects.
+To manage it properly, you can use *nvm* package on windows or *n* package on linux.
+
+For nvm : 
+```
+yarn global add nvm 
+```
+
+To see the list of your installed node versions
+```
+nvm list
+```
+
+To install a version : 
+```
+nvm install X.X.X
+
+```
+To swtich to a specific installed version 
+```
+nvm use X.X.X
+```
+
+Then make sure you are on the right version with 
+```
+node -v
+```
+
 ## Yarn
 
 Yarn is used as package manager for this project. Feel free to use the one you prefere but we advice to install yarn as all the documentation is described with this package manager.
diff --git a/docs/pilote/Pilote - TS - Back/functionalities/routes.md b/docs/pilote/Pilote - TS - Back/functionalities/routes.md
index 9a2c5c6..31019e4 100644
--- a/docs/pilote/Pilote - TS - Back/functionalities/routes.md	
+++ b/docs/pilote/Pilote - TS - Back/functionalities/routes.md	
@@ -34,7 +34,7 @@ A swagger documentation can be consulted at [http://localhost:3000/api/doc/](htt
 {"cozy_name":"pilote-rec.cozy.self-data.alpha.grandlyon.com","trigger":"https://pilote-rec.cozy.self-data.alpha.grandlyon.com/jobs/webhooks/d010bf3fa2aed6f3c6584ea93a54affc"}
 ``
 - Local : `` 
-{"cozy_name":"mps.cozy.tools:8080","trigger":"http://mps.cozy.tools:8080/jobs/webhooks/"}
+{"cozy_name":"pilote.cozy.tools:8080","trigger":"http://pilote.cozy.tools:8080/jobs/webhooks/"}
 ``
 
 # Cozy
diff --git a/docs/pilote/Pilote - Usager/getting_started/launch_local_application.md b/docs/pilote/Pilote - Usager/getting_started/launch_local_application.md
index 49087ad..f39e247 100644
--- a/docs/pilote/Pilote - Usager/getting_started/launch_local_application.md	
+++ b/docs/pilote/Pilote - Usager/getting_started/launch_local_application.md	
@@ -23,20 +23,22 @@ To start Pilote Usager application, you first need start the application and sta
 ```
 yarn start
 
-# on windows
-yarn winstack 
-
-# on linux
-yarn linstack
+docker-compose up stack
 ```
 
+As the pilote application has been recently upgraded to NodeJS 16 version, you might need to install additionnal packages in order to be able to run the app. Make sure your have the following installed : 
+
+- Python3
+- Microsoft Visual Studio tools 2017 
+- node-gyp
+
 And wait for the success message.
-> Everything is setup. Go to http://mps.cozy.tools:8080/
+> Everything is setup. Go to http://pilote.cozy.tools:8080/
 
 Once successful you can launch your local cozy with following url [Cozy local url](http://cozy.tools:8080/) and connect with the password '**cozy**'.
 
 ### Start Pilote TS application
 
-To start a social worker instance, go to [**options page**](http://mps.cozy.tools:8080/#/settings) and click '**Get sharecode**'.
+To start a social worker instance, go to [**options page**](http://pilote.cozy.tools:8080/#/settings) and click '**Get sharecode**'.
 
 Open the console and you'll see a link redirecting to a TS instance.
\ No newline at end of file
-- 
GitLab