Use latest lorawan-devices revision with LICENSE.

This commit is contained in:
Orne Brocaar 2022-12-01 10:26:15 +00:00
parent 91e203968f
commit 049807fcae
2 changed files with 8 additions and 5 deletions

View File

@ -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'

View File

@ -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