Skip to content

Latest commit

 

History

History
100 lines (67 loc) · 1.55 KB

README.md

File metadata and controls

100 lines (67 loc) · 1.55 KB

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