diff --git a/Pymodbus/.gitignore b/Pymodbus/.gitignore new file mode 100644 index 0000000..bdd3e5b --- /dev/null +++ b/Pymodbus/.gitignore @@ -0,0 +1 @@ +./Pipfile \ No newline at end of file diff --git a/Pymodbus/Pipfile b/Pymodbus/Pipfile index 3f371c0..817f893 100644 --- a/Pymodbus/Pipfile +++ b/Pymodbus/Pipfile @@ -15,5 +15,5 @@ ipython = "*" [dev-packages] [requires] -python_version = "3.9" +python_version = "3.10.6" diff --git a/README.md b/README.md index c859458..b69c5a2 100644 --- a/README.md +++ b/README.md @@ -2,6 +2,32 @@ ## Utilisation +### Install +```sh +// Install d'outil +python -m pip install pipenv + +// Install module +pip install typer +pip install scapy +pip install pymodbus + +// Mise à jour +pipenv update + +// Lancement du shell pipenv +pipenv shell +``` + +### Lancement +il faut lancé 3 terminal pipenv pour : + +```sh +./start_server.sh +./start_client.sh +sudo python3 ./decoder.py +``` + ## Notre configuration * Python * PostgreSQL