Skip to content

Latest commit

 

History

History
24 lines (19 loc) · 656 Bytes

File metadata and controls

24 lines (19 loc) · 656 Bytes

python mqtt

This is a project to test Sockets with this tutorial https://www.youtube.com/watch?v=3QiPPX-KeSc.

1. Installation

  • To clone the repository
  • To create a virtual enviroment python3.7 -m venv .
  • To activate the virtual enviroment (WINDOWS) source bin/activate
  • To install dependencies pip install -r .requirements.txt
  • please locate prompt on scr folder cd src
  • duplicate .env-example in order to set your own credentials cp .env-example .env

1. run the services

  • To init the server python3.7 server.py
  • To init the server client python3.7 client.py