Skip to content

Commit

Permalink
Use latest lorawan-devices revision with LICENSE.
Browse files Browse the repository at this point in the history
  • Loading branch information
brocaar committed Dec 1, 2022
1 parent 91e2039 commit 049807f
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 5 deletions.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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'
11 changes: 7 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit 049807f

Please sign in to comment.