This repository has been archived by the owner. It is now read-only.
[DEPRECATED] Automatic gateway (channel) configuration for LoRa Server
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.github
cmd/lora-channel-manager
docs
internal/config
packaging
vendor
.gitignore
.travis.yml
CONTRIBUTING.md
Dockerfile
LICENSE
Makefile
README.md
docker-compose.yml

README.md

LoRa Channel Manager

Build Status

This component has been deprecated and has been merged into the LoRa Gateway Bridge!

LoRa Channel Manager periodically reads channel-configuration from LoRa Server, updates the packet-forwarder configuration in case of updates, and restarts the packet-forwarder process in case of any changes.

Documentation

Please refer to https://docs.loraserver.io/lora-channel-manager/.

Building from source

The easiest way to get started is by using the provided docker-compose environment. To start a bash shell within the docker-compose environment, execute the following command from the root of this project:

docker-compose run --rm channelmanager bash

A few example commands that you can run:

# cleanup workspace
make clean

# run the tests
make test

# compile (this will also compile the ui and generate the static files)
make build

# cross-compile for Linux ARM
GOOS=linux GOARCH=arm make build

# cross-compile for Windows AMD64
GOOS=windows BINEXT=.exe GOARCH=amd64 make build

# build the .tar.gz file
make package

# build the .tar.gz file for Linux ARM
GOOS=linux GOARCH=arm make package

# build the .tar.gz file for Windows AMD64
GOOS=windows BINEXT=.exe GOARCH=amd64 make package

Alternatively, you can run the same commands from any working Go environment. As all requirements are vendored, there is no need to go get these. Make sure you have Go 1.7.x installed and that you clone this repository to $GOPATH/src/github.com/brocaar/lora-channel-manager.

Contributing

There are a couple of ways to get involved:

License

LoRa Channel Manager is distributed under the MIT license. See also LICENSE.