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

edit launch stack command

parent f34d35e0
Branches
No related tags found
No related merge requests found
...@@ -53,12 +53,12 @@ Next pull the last image of the dev stack: ...@@ -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 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: Launch the stack with the following command:
``` ```
yarn winstack docker-compose up
``` ```
A Powershell window will open. Wait until the success message: 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 ...@@ -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/) 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 ## Import mock data
!!! info "Requirement" !!! info "Requirement"
......
...@@ -75,7 +75,7 @@ docker build . -t registry.forge.grandlyon.com/web-et-numerique/llle_project/eco ...@@ -75,7 +75,7 @@ docker build . -t registry.forge.grandlyon.com/web-et-numerique/llle_project/eco
- start the server with the new image: - start the server with the new image:
```bash ```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)): - Change the content request param in io.cozy.doctypes/org.ecolyo.usage using the db tool ([http://localhost:5984/\_utils](http://localhost:5984/_utils)):
......
...@@ -23,7 +23,7 @@ To start Pilote Usager application, you first need start the application and sta ...@@ -23,7 +23,7 @@ To start Pilote Usager application, you first need start the application and sta
``` ```
yarn start 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 : 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 :
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment