Skip to content

Demonstration of Mosquitto broker used with MQTT, docker and dash to show how the subscriber publisher method can be implemented.

Notifications You must be signed in to change notification settings

Iheuzio/MQTT-Broker

Repository files navigation

TeamAssignment2

Contributors

Deployment

Ubuntu

Ubuntu Deployment

  1. Clone the repository
git clone https://gitlab.com/yuryev/fall2023datacomassignment2/
cd fall2023datacomassignment2
  1. Create virtual environment
python3 -m venv venv
source venv/bin/activate
  1. Install the dependencies
python3 -m pip install -r requirements.txt
  1. Start docker containers
sudo docker compose -f py_api/docker-compose.yml up --force-recreate --no-deps --build -d
sudo docker compose -f mqtt_lab/docker-compose.yml up --force-recreate --no-deps --build -d
  1. Make a directory for video file output
mkdir video
mkdir keys
  1. Start the Main Application
python3 main.py

Windows

Windows Deployment

  1. Clone the repository
git clone https://gitlab.com/yuryev/fall2023datacomassignment2/
cd fall2023datacomassignment2
  1. Create virtual environment
python -m venv venv
 .\.venv\Scripts\activate
  1. Install the dependencies
pip install -r requirements.txt
  1. Start docker containers
docker compose -f py_api/docker-compose.yml up --force-recreate --no-deps --build -d
docker compose -f mqtt_lab/docker-compose.yml up --force-recreate --no-deps --build -d
  1. Make a folder for video file output
mkdir video
mkdir keys
  1. Start the dashboard
python main.py

UML

UML diagram

About

Demonstration of Mosquitto broker used with MQTT, docker and dash to show how the subscriber publisher method can be implemented.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published