chirpstack / chirpstack-docker

Setup ChirpStack using Docker Compose
https://www.chirpstack.io/
MIT License
273 stars 316 forks source link

Makefile import-lorawan-devices use old command #73

Closed EduardoPfeifer closed 1 year ago

EduardoPfeifer commented 1 year ago

As the command has changed due to the TTN LoRaWAN device repository, the command in the Makefile needs to be updated from:

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/brocaar/lorawan-devices /tmp/lorawan-devices && \
        chirpstack -c /etc/chirpstack import-ttn-lorawan-devices -d /tmp/lorawan-devices'

to

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/brocaar/lorawan-devices /tmp/lorawan-devices && \
        chirpstack -c /etc/chirpstack import-legacy-lorawan-devices-repository -d /tmp/lorawan-devices'
brocaar commented 1 year ago

Thanks, this has been fixed by the above commit.