Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/technologiestiftung/kiezbox-gateway-service


https://github.com/technologiestiftung/kiezbox-gateway-service

Last synced: 30 days ago
JSON representation

Awesome Lists containing this project

README

        

# Instructions

Initialize the database.

```
docker compose up
```

Update the protobufs submodule, if you want to generate the

```
git submodule update --init
```

## 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=. --go_out=internal protobufs/meshtastic/kiezbox_control.proto
```

Create a kiezbox module.

```
go mod init kiezbox
```

Install dependencies.

```
go mod tidy
```

Run the main fail to test the module.
```
go run cmd/main.go
```