Skip to content

Latest commit

 

History

History
18 lines (9 loc) · 894 Bytes

README.md

File metadata and controls

18 lines (9 loc) · 894 Bytes

Washing Machines - IoT Project

Project to allow students at UNISA Residences to not have to be physically in the washing machines room to know if a given machine is occupied or not.

Also provide a way to make reservation for a given machine, authorize the person that reserved a given machine through QR Codes and a platform management so building manager can support how is currently working.

Docker Image - Instructions

  1. Build Image: docker build -t washing_machines_iot_server_64 . --platform linux/amd64
  2. Export it to a given folder: docker save -o washing_machines_64.tar washing_machines_iot_server_64

Run the server

  1. poetry run uvicorn main:app --reload --host 0.0.0.0 --port 8000

  2. If behind a proxy server as in Portainer: poetry run uvicorn main:app --reload --host 0.0.0.0 --port 8000 --proxy-headers