From 1ecd665ff8c2c18066e52461de4398776b78c222 Mon Sep 17 00:00:00 2001
From: Nawfel Senoussi <nawfelsen@mbp-de-nawfel.home>
Date: Mon, 1 Apr 2024 23:21:09 +0200
Subject: [PATCH] update README

---
 README.md | 43 +++++++++++++++++++++++++++++++++++++++----
 1 file changed, 39 insertions(+), 4 deletions(-)

diff --git a/README.md b/README.md
index 64c584d..5408479 100644
--- a/README.md
+++ b/README.md
@@ -1,12 +1,39 @@
 # QSI_Groupe4
 
-## Installation
+## Prerequisites
 
-To install dependencies, run the following command:
+Before you begin, make sure you have Node.js version 20 installed. We recommend using [Node Version Manager (NVM)](https://github.com/nvm-sh/nvm) for easy Node.js version management.
 
+```bash
+# Install NVM (Node Version Manager)
+curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.1/install.sh | bash
+
+# Reload the shell configuration
+source ~/.bashrc   # or source ~/.zshrc if you're using Zsh
+
+# Install Node.js 20
+nvm install 20
+
+# Set Node.js 20 as the default version
+nvm use 20
 ```
-npm install
-```
+
+## Installation
+
+1. Clone this repository:
+   ```bash
+   git clone https://gitlab.univ-lille.fr/lydia.tarmelit.etu/qsi_groupe4.git
+   ```
+
+2. Navigate to the project directory:
+   ```bash
+   cd qsi_groupe4
+   ```
+
+3. Install dependencies:
+   ```bash
+   npm install
+   ```
 
 ## Available Scripts
 
@@ -22,6 +49,14 @@ npm start main <filePath>
 
 Replace `<filePath>` with the path to your JSON file.
 
+Your json should contain the following content:
+
+```json
+{
+    "privateKey": "yourPrivateKey"
+}
+```
+
 ### `npm test`
 
 To run tests, use the following command:
-- 
GitLab