HiHome is an application for monitoring and controlling home systems.
HiHome can be executed locally using Docker Compose, as follows:
docker compose up
docker compose down -vdev versions of Dockerfiles and docker-compose are provided, to allow auto update on code changes, executable via:
docker compose -f docker-compose.dev.yml up
docker compose -f docker-compose.dev.yml down -vTests can be run with the following commands:
pnpm run test # for MEVN application
go test -C ext-api-service -v ./... # for Go serviceCoverage reports are generated as follows:
pnpm run test:coverage # for MEVN application
go test -C ext-api-service -coverprofile=coverage.out -v ./... # for Go servicePrettier is used for formatting the code of the MEVN application (by running pmpm run format), while go-fmt is used to format Go code (by running gofmt -s -w ./ext-api-service).