Skip to content
Snippets Groups Projects
Commit e0293142 authored by Guilhem CARRON's avatar Guilhem CARRON
Browse files

add node 16 doc

parent feb20547
No related branches found
No related tags found
No related merge requests found
Pipeline #24540 failed
......@@ -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.
......
......@@ -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
......
......@@ -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
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment