Setting up Chirpstack Application Server and connecting a device

See my reply to your other question in: Chirpstack OS package manager - #5 by brocaar.