Skip to content

Latest commit

 

History

History
21 lines (17 loc) · 433 Bytes

DEV.md

File metadata and controls

21 lines (17 loc) · 433 Bytes

Developer guide

Get the dependencies & the dev dependencies

cd app && pip install -r requirements.txt -r requirements.dev.txt

Format the code

cd app && autopep8 --in-place --aggressive --aggressive *.py

Build the Docker image

docker build -t tydom2mqtt .

Run the Docker image

docker run -it --rm -e TYDOM_MAC="001A25123456" -e TYDOM_PASSWORD="secret" tydom2mqtt