From 049807fcae12180029c974350976a44634510f43 Mon Sep 17 00:00:00 2001 From: Orne Brocaar Date: Thu, 1 Dec 2022 10:26:15 +0000 Subject: [PATCH] Use latest lorawan-devices revision with LICENSE. --- Makefile | 2 +- README.md | 11 +++++++---- 2 files changed, 8 insertions(+), 5 deletions(-) diff --git a/Makefile b/Makefile index feb8a08..57e723f 100644 --- a/Makefile +++ b/Makefile @@ -2,5 +2,5 @@ import-lorawan-devices: docker-compose run --rm --entrypoint bash --user root chirpstack -c '\ apt-get update && \ apt-get install -y make git && \ - git clone https://github.com/TheThingsNetwork/lorawan-devices /tmp/lorawan-devices && \ + git clone https://github.com/brocaar/lorawan-devices /tmp/lorawan-devices && \ chirpstack -c /etc/chirpstack import-ttn-lorawan-devices -d /tmp/lorawan-devices' diff --git a/README.md b/README.md index 1d5edb6..bf67397 100644 --- a/README.md +++ b/README.md @@ -38,17 +38,20 @@ PostgreSQL and Redis data is persisted in Docker volumes, see the `docker-compos Before using this `docker-compose.yml` file, make sure you have [Docker](https://www.docker.com/community-edition) installed. -## Importing TTN device repository +## Importing device repository -To import the TTN [lorawan-devices](https://github.com/TheThingsNetwork/lorawan-devices) +To import the [lorawan-devices](https://github.com/TheThingsNetwork/lorawan-devices) repository (optional step), run the following command: ```bash make import-lorawan-devices ``` -This will clone the `lorawan-devices` repository and execute the `import-ttn-lorawan-devices` -command of ChirpStack. Please note that for this step you need to have the `make` command installed. +This will clone the `lorawan-devices` repository and execute the import command of ChirpStack. +Please note that for this step you need to have the `make` command installed. + +**Note:** an older snapshot of the `lorawan-devices` repository is cloned as the +latest revision no longer contains a `LICENSE` file. ## Usage