Run all import-lorawan-devices steps within Docker.
This commit is contained in:
parent
79fb95cde8
commit
9ea0dc01f4
8
Makefile
8
Makefile
@ -1,4 +1,6 @@
|
||||
import-lorawan-devices:
|
||||
rm -rf lorawan-devices
|
||||
git clone https://github.com/TheThingsNetwork/lorawan-devices
|
||||
docker-compose run --rm chirpstack -c /etc/chirpstack import-ttn-lorawan-devices -d /opt/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 && \
|
||||
chirpstack -c /etc/chirpstack import-ttn-lorawan-devices -d /tmp/lorawan-devices'
|
||||
|
@ -48,8 +48,7 @@ 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 `git` and `make`
|
||||
commands installed.
|
||||
command of ChirpStack. Please note that for this step you need to have the `make` command installed.
|
||||
|
||||
## Usage
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user