Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/technologiestiftung/kiezbox-gateway-service
https://github.com/technologiestiftung/kiezbox-gateway-service
Last synced: 30 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/technologiestiftung/kiezbox-gateway-service
- Owner: technologiestiftung
- Created: 2024-11-14T16:27:49.000Z (about 1 month ago)
- Default Branch: main
- Last Pushed: 2024-11-20T16:35:05.000Z (about 1 month ago)
- Last Synced: 2024-11-20T17:35:37.377Z (about 1 month ago)
- Language: Go
- Size: 24.4 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
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
```