From 693f1f1dfae9c070c3ae19519524e2de3b5c5893 Mon Sep 17 00:00:00 2001 From: Javier Val Date: Mon, 20 Jun 2022 19:44:46 +0200 Subject: [PATCH] Update README.md --- README.md | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index d83803d..4424bdd 100644 --- a/README.md +++ b/README.md @@ -12,18 +12,20 @@ We start from a fictitious case to illustrate the operation of an inventory mana ## How to run the application + Clone the repository -+ Open a terminal and navigate to InventoryManager/src ++ Open a terminal and navigate to *InventoryManager/src* path + Launch the application by running the following Docker command: **docker-compose -f .\docker-compose.yml -f .\docker-compose.override.yml up -d** (this command build and run all the required images). *NOTE: RabbitMQ needs more time to get up. It is normal that in the first moments some connection error traces appear in the microservices that connect to RabbitMQ. It is not a problem. Connection retries are implemented.* + Open a browser and navigate to http://localhost:7000/swagger/index.html to interact with the inventory API + It is a secure API. The following jwt token must be used to authenticate and be able to consume the API: *eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJHb2FsU3lzdGVtcyIsImlhdCI6MTY1NTMyMzM4NiwiZXhwIjoxNjg2ODU5Mzg2LCJhdWQiOiJpbnZlbnRvcnlfbWFuYWdlciIsInN1YiI6InVzZXIudGVzdCIsIlJvbGUiOiJBZG1pbiIsIkVudmlyb25tZW50IjoiU3RhZ2luZyJ9.Vgvf2WGnqAcfM72bxoMJWIKZbfmIGNz-RSFWOtbWRYE* ## How to stop the application -Located on InventoryManager/src path, run the following Docker command to stop all the containers: **docker-compose -f .\docker-compose.yml -f .\docker-compose.override.yml down** +Located on *InventoryManager/src* path, run the following Docker command to stop all the containers: **docker-compose -f .\docker-compose.yml -f .\docker-compose.override.yml down** ## How to run test +Located on *InventoryManager/test/Inventory.Tests* path, execute the **dotnet test** command + ## Not implemented requirements