Skip to content
Snippets Groups Projects
Commit 73f9a4c7 authored by PEDROLI Benjamin's avatar PEDROLI Benjamin
Browse files

Merge branch 'pilote'

parents 0e827e96 e2b0c9f5
No related branches found
No related tags found
No related merge requests found
Pipeline #12485 passed
......@@ -38,4 +38,28 @@ To start test defined just run the command in a PowerShell or Windows Powershell
yarn test:watch
```
Don't forget to uncomment ending row into beneficiary.service.ts file before to run the above command.
\ No newline at end of file
Don't forget to uncomment ending row into beneficiary.service.ts file before to run the above command.
### Usefull docker command
- build : `docker build -t mps .`
- run container : `docker-compose -f docker-compose.yml up --remove-orphans`
- acceder à la db du container: `docker exec -it mps-travailleursocial-back_postgres_1 psql -U postgres`
- delete image/containers: `docker system prune -a -f`
- voir le contenu du container: `docker exec -it <id_container> bash`
- remove container: `docker container rm -f <id_container>`
## Synapps environment
- check mps container : `docker ps --filter "name=mps"` or use this alias created : `dpm`
- docker stop <id_container>
- run a service from the docker-compose file: `docker-compose up -d <name_of_service>` |
example: `docker-compose up -d mps-prod` , `docker-compose up -d app` , ....
\ 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