diff --git a/docs/ecolyo/getting_started/setup_your_environment.md b/docs/ecolyo/getting_started/setup_your_environment.md index ee51f0b925252db4022cdc15c4b67e74da56f8d3..cd6ea79a1c68424e4c2bf9abf332cc52246410d0 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 9a2c5c6d3b1604f6bb123101b01de5b5afeec7e3..31019e4e435719b0198c28bff55acc8022fc8a38 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 49087ad9714ab22f2940655ff625ba000142fa7d..f39e2475568c6d45347c94ed5ac7d92b98efe003 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