From 1384284956d91623c76c35b876576b15945c4d02 Mon Sep 17 00:00:00 2001 From: "ivan.rigo" <ivan.rigo@etu.hesge.ch> Date: Thu, 1 Dec 2022 14:30:04 +0100 Subject: [PATCH] Update README.md --- README.md | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 6268ec1..2e9e2fa 100644 --- a/README.md +++ b/README.md @@ -81,7 +81,9 @@ Représente la ressource cherché #### Retour Renvoie cette requête à son transmitter si le noeud actuel n'est pas le noeud ayant été appelé par initReq, sinon, affiche dans le terminal l'id du noeud possèdant la ressource -## Tester le programme +### Tester le programme Pour tester le programme, démarré chaque noeud avec un terminal ouvert dans le dossier web-service-gin. + Pour chaque noeud, exécuté la commande : go run Gnutella.go neighbour-x.yaml, x étant l'id du noeud (entre 1 à 7) -Ouvrir un autre terminal et appelé la requête initReq ( http://localhost:NodePort/initReq/ttl/ressource) \ No newline at end of file + +Ouvrir un autre terminal et appelé la requête initReq ( http://localhost:NodePort/initReq/ttl/ressource) -- GitLab