From e95f6b744728c8894055b00e0284fe84fc8ef387 Mon Sep 17 00:00:00 2001
From: UltraLion <49597041+UltraLionfr@users.noreply.github.com>
Date: Mon, 10 Apr 2023 15:20:08 +0200
Subject: [PATCH] Update README.md
---
README.md | 48 ++++++++++++++++++++++++------------------------
1 file changed, 24 insertions(+), 24 deletions(-)
diff --git a/README.md b/README.md
index 6490aed..81c9b50 100644
--- a/README.md
+++ b/README.md
@@ -1,38 +1,39 @@
-
Script Bash qui permet de voir les statistiques de votre serveur Linux en les envoyants à un webhook discord.
+Bash script that allows to see the statistics of your Linux server by sending them to a webhook discord.
-👨💻 Technologies utilisées pour ce projet
+👨💻 Technologies used for this project

[](https://www.gnu.org/software/bash/)
+
-📡 Objectif
-Ce projet a pour but d'envoyer les statistiques d'un serveur linux à un webhook discord (voir l'image ci dessous)
-
+📡 Objective
+The purpose of this project is to send statistics from a linux server to a webhook discord (see image below)
+
-📋 Fonctionnalité
+📋 Functionality
-- [X] Un message est envoyé lorsque le script est démarrer avec la commande ./script.sh
-- [X] Message configurable
+- [X] A message is sent when the script is started with the command `./script.sh` or `bash script.sh`
+- [X] Configurable message
- 🚀 Prise en main
+ 🚀 Getting started
-1. `git clone https://github.com/UltraLionfr/statistiques-discord-webhook-vps.git` & `cd statistiques-discord-webhook-vps`
+1. `git clone https://github.com/UltraLionfr/statistics-discord-webhook-vps.git` & `cd statistics-discord-webhook-vps`
-2. Pour commencer, vous devez installez jq sur votre serveur, pour ça faite la commande suivante :
-```yml
-sudo apt install jq -y
+2. **To start you need to install the following packages on your server**:
+```bash
+sudo apt-get update && sudo apt-get install -y ping procps procinfo lscpu curl coreutils lsb-release ifstat -y
```
-3. Ensuite, démarrage du script une fois le webhook configuré et l'interface réseau changé :
-```yml
-sudo ./script.sh
-```
-4. Configuration de crontabe pour avoir les statistiques toutes les heures
+3. **Changing the network interface** :
+At the line `network_bandwidth_usage` change `enp6s18` by your network interface.
+Do `ifconfig or ip addr` to find your network interface.
+
+4. **Configuration of crontabe to have statistics every hour**:
```yml
sudo crontabe -e
```
@@ -61,12 +62,11 @@ sudo crontabe -e
#
# m h dom mon dow command
```
-/!\ Penser à remplacer le chemain d'accès à la ligne `0 * * * * /home/user/script.sh` /!\
+⚠️ Remember to replace the access path on the line `0 * * * * /home/user/script.sh` ⚠️
+Credits
-Crédits
-
-- Auteur : [UltraLion](https://github.com/UltraLionfr)
+- Author : [UltraLion](https://github.com/UltraLionfr)
-Veuillez forker ce projet si vous l'utilisez et mettre une étoile ❤️.
+Please fork this project if you use it and put a star ❤️.