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:
|
import-lorawan-devices:
|
||||||
rm -rf lorawan-devices
|
docker-compose run --rm --entrypoint bash --user root chirpstack -c '\
|
||||||
git clone https://github.com/TheThingsNetwork/lorawan-devices
|
apt-get update && \
|
||||||
docker-compose run --rm chirpstack -c /etc/chirpstack import-ttn-lorawan-devices -d /opt/lorawan-devices
|
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`
|
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`
|
command of ChirpStack. Please note that for this step you need to have the `make` command installed.
|
||||||
commands installed.
|
|
||||||
|
|
||||||
## Usage
|
## Usage
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user