mirror of
https://github.com/iio612/DEFENDER.git
synced 2026-02-13 11:14:23 +00:00
Update readme.md
This commit is contained in:
12
README.md
12
README.md
@@ -25,16 +25,18 @@ Il permet aux opérateurs de gérer efficacement un canal, tout en offrant aux u
|
|||||||
|
|
||||||
Prérequis:
|
Prérequis:
|
||||||
- Système d'exploitation Linux (Windows non supporté)
|
- Système d'exploitation Linux (Windows non supporté)
|
||||||
- Droits d'administrateur (root) pour l'exécution du script
|
|
||||||
- Python version 3.10 ou supérieure
|
- Python version 3.10 ou supérieure
|
||||||
|
|
||||||
Bash:
|
Bash:
|
||||||
$ git clone https://github.com/adator85/IRC_DEFENDER_MODULES.git
|
$ git clone https://github.com/adator85/IRC_DEFENDER_MODULES.git
|
||||||
- Renommer le fichier exemple_configuration.json en configuration.json
|
- Renommer le fichier exemple_configuration.json en configuration.json
|
||||||
- Configurer le fichier configuration.json
|
- Configurer le fichier configuration.json
|
||||||
$ sudo python3 install.py
|
$ python3 main.py
|
||||||
|
|
||||||
Si votre configuration est bonne, votre service est censé etre connecté a votre réseau IRC
|
Si votre configuration est bonne, votre service est censé etre connecté a votre réseau IRC
|
||||||
|
Pour Les prochains lancement de defender vous devez utiliser la commande suivante
|
||||||
|
Bash:
|
||||||
|
$ systemctl --user [start | stop | restart | status] defender
|
||||||
|
|
||||||
# Installation manuelle:
|
# Installation manuelle:
|
||||||
Bash:
|
Bash:
|
||||||
@@ -42,8 +44,10 @@ Si votre configuration est bonne, votre service est censé etre connecté a votr
|
|||||||
$ cd IRC_DEFENDER_MODULES
|
$ cd IRC_DEFENDER_MODULES
|
||||||
$ python3 -m venv .pyenv
|
$ python3 -m venv .pyenv
|
||||||
$ source .pyenv/bin/activate
|
$ source .pyenv/bin/activate
|
||||||
- Créer un service nommé "Defender.service" pour votre service et placer le dans "/etc/systemd/system/"
|
(pyenv)$ pip install sqlalchemy, psutil, requests, faker
|
||||||
$ sudo systemctl start Defender
|
- Créer un service nommé "defender.service" pour votre service et placer le dans "/PATH/TO/USER/.config/systemd/user/"
|
||||||
|
- Si le dossier n'existe pas il faut les créer
|
||||||
|
$ sudo systemctl --user start defender
|
||||||
|
|
||||||
# Configuration
|
# Configuration
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user