Skip to content

technologiestiftung/kiezbox-gateway-service

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

38 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Instructions

Initialize the database.

docker compose up

Protobuf > pb.go generation

First, update the protobufs submodule.

git submodule update --init

Then run this command tu generate the Go code based on the protobuf.

protoc -I=protobufs/ --go_out=internal protobufs/meshtastic/*.proto protobufs/nanopb.proto

Create a kiezbox module.

go mod init kiezbox

Get the serial library.

go get github.com/tarm/serial

Install dependencies.

go mod tidy

Run the main fail to test the module.

go run cmd/main.go

Unittests

To run the tests.

go test ./...

To get a visual representation of code coverage in the tests.

go tool cover -html=coverage.out

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages