Use latest lorawan-devices revision with LICENSE.
This commit is contained in:
parent
91e203968f
commit
049807fcae
2
Makefile
2
Makefile
@ -2,5 +2,5 @@ import-lorawan-devices:
|
|||||||
docker-compose run --rm --entrypoint bash --user root chirpstack -c '\
|
docker-compose run --rm --entrypoint bash --user root chirpstack -c '\
|
||||||
apt-get update && \
|
apt-get update && \
|
||||||
apt-get install -y make git && \
|
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'
|
chirpstack -c /etc/chirpstack import-ttn-lorawan-devices -d /tmp/lorawan-devices'
|
||||||
|
11
README.md
11
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)
|
Before using this `docker-compose.yml` file, make sure you have [Docker](https://www.docker.com/community-edition)
|
||||||
installed.
|
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:
|
repository (optional step), run the following command:
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
make import-lorawan-devices
|
make import-lorawan-devices
|
||||||
```
|
```
|
||||||
|
|
||||||
This will clone the `lorawan-devices` repository and execute the `import-ttn-lorawan-devices`
|
This will clone the `lorawan-devices` repository and execute the import command of ChirpStack.
|
||||||
command of ChirpStack. Please note that for this step you need to have the `make` command installed.
|
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
|
## Usage
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user