From 52829a08c79ba98a887c9f70d63006edcb1ac8bd Mon Sep 17 00:00:00 2001 From: "guilhem.carron" <gcarron@grandlyon.com> Date: Fri, 29 Apr 2022 15:18:56 +0200 Subject: [PATCH] edit launch stack command --- .../launch_local_application.md | 21 ++----------------- .../project_architecture/remote_doctypes.md | 2 +- .../launch_local_application.md | 2 +- 3 files changed, 4 insertions(+), 21 deletions(-) diff --git a/docs/ecolyo/getting_started/launch_local_application.md b/docs/ecolyo/getting_started/launch_local_application.md index b4c099a..b361eaa 100644 --- a/docs/ecolyo/getting_started/launch_local_application.md +++ b/docs/ecolyo/getting_started/launch_local_application.md @@ -53,12 +53,12 @@ Next pull the last image of the dev stack: docker pull registry.forge.grandlyon.com/web-et-numerique/llle_project/ecolyo/cozy-env:latest ``` -#### On windows +#### On windows and linux Launch the stack with the following command: ``` -yarn winstack +docker-compose up ``` A Powershell window will open. Wait until the success message: @@ -70,23 +70,6 @@ Once successfull you can launch your local cozy with following url: [Cozy local Local database can also be consulted at the following url: [Cozy local DB](http://localhost:5984/_utils/) -#### On Linux - -From the project folder, launch following command: - -``` -yarn linuxstack -``` - -Wait until the success message: - -> Everything is setup. Go to http://ecolyo.cozy.tools:8080/ -> To exit, press ^C - -Once successfull you can launch your local cozy with following url [Cozy local url](http://cozy.tools:8080/) and connect with the password '**cozy**'. - -Local database can also be consulted at the following url: [Cozy local DB](http://localhost:5984/_utils/) - ## Import mock data !!! info "Requirement" diff --git a/docs/ecolyo/project_architecture/remote_doctypes.md b/docs/ecolyo/project_architecture/remote_doctypes.md index 852782c..65785c5 100644 --- a/docs/ecolyo/project_architecture/remote_doctypes.md +++ b/docs/ecolyo/project_architecture/remote_doctypes.md @@ -75,7 +75,7 @@ docker build . -t registry.forge.grandlyon.com/web-et-numerique/llle_project/eco - start the server with the new image: ```bash -yarn winstack +docker-compose up ``` - Change the content request param in io.cozy.doctypes/org.ecolyo.usage using the db tool ([http://localhost:5984/\_utils](http://localhost:5984/_utils)): 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 f39e247..d422c9e 100644 --- a/docs/pilote/Pilote - Usager/getting_started/launch_local_application.md +++ b/docs/pilote/Pilote - Usager/getting_started/launch_local_application.md @@ -23,7 +23,7 @@ To start Pilote Usager application, you first need start the application and sta ``` yarn start -docker-compose up stack +docker-compose up ``` 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 : -- GitLab