ChirpStack open-source LoRaWAN Network Server
Go to file
dependabot[bot] 3ee4598320
Bump tar from 6.1.15 to 6.2.1 in /api/grpc-web (#400)
Bumps [tar](https://github.com/isaacs/node-tar) from 6.1.15 to 6.2.1.
- [Release notes](https://github.com/isaacs/node-tar/releases)
- [Changelog](https://github.com/isaacs/node-tar/blob/main/CHANGELOG.md)
- [Commits](https://github.com/isaacs/node-tar/compare/v6.1.15...v6.2.1)

---
updated-dependencies:
- dependency-name: tar
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-05-02 10:38:15 +01:00
.cargo Implement fully static ARMv7 build. 2023-05-30 12:13:52 +01:00
.docker-compose/postgresql/initdb Initial commit. 2022-04-06 21:18:32 +01:00
.github api: Remove generated API files from repo + update build. 2024-04-01 14:27:15 +01:00
api Bump tar from 6.1.15 to 6.2.1 in /api/grpc-web (#400) 2024-05-02 10:38:15 +01:00
backend Bump version to 4.8.0-test.2 2024-04-10 10:12:06 +01:00
chirpstack Add option to increase RX1 Delay in device-profile. 2024-05-02 10:29:10 +01:00
chirpstack-integration Bump version to 4.8.0-test.1 2024-04-04 15:25:59 +01:00
cross Refactor client-cert generator to use rustls/rcgen. 2023-12-11 10:55:36 +00:00
examples Bump google.golang.org/protobuf in /examples/frame_log/go (#380) 2024-03-19 10:39:46 +00:00
lrwn Bump version to 4.8.0-test.2 2024-04-10 10:12:06 +01:00
lrwn-filters Bump version to 4.8.0-test.2 2024-04-10 10:12:06 +01:00
ui Add option to increase RX1 Delay in device-profile. 2024-05-02 10:29:10 +01:00
.dockerignore Implement fully static AMD64 build. 2023-05-30 12:13:52 +01:00
.env Add dotenv for test dependency config. 2023-05-30 12:13:52 +01:00
.gitattributes Update .gitattributes. 2022-04-06 21:50:23 +01:00
.gitignore api: Remove generated API files from repo + update build. 2024-04-01 14:27:15 +01:00
Cargo.lock Update rcgen dependency + cargo update. 2024-04-10 11:52:23 +01:00
Cargo.toml Update rcgen dependency + cargo update. 2024-04-10 11:52:23 +01:00
Cross.toml Implement fully static ARMv7 build. 2023-05-30 12:13:52 +01:00
docker-compose.yml api: Remove generated API files from repo + update build. 2024-04-01 14:27:15 +01:00
Dockerfile Refactor build scripts for cross-rs based cross compiling. 2023-05-30 12:13:52 +01:00
Dockerfile-devel Refactor build scripts for cross-rs based cross compiling. 2023-05-30 12:13:52 +01:00
LICENSE Initial commit. 2022-04-06 21:18:32 +01:00
Makefile Update rcgen dependency + cargo update. 2024-04-10 11:52:23 +01:00
README.md Updated docker-compose to docker compose (#377) 2024-03-12 11:27:27 +00:00
rust-toolchain.toml Update Rust + dev env. 2024-03-13 09:44:29 +00:00
shell.nix api: Use protoc-gen-go & -go-grpc from nix. 2024-04-01 14:37:41 +01:00

ChirpStack open-source LoRaWAN(R) Network Server

CI

ChirpStack is an open-source LoRaWAN(R) Network Server which can be used to set up LoRaWAN networks. ChirpStack provides a web-interface for the management of gateways, devices and tenants as well to set up data integrations with the major cloud providers, databases and services commonly used for handling device data. ChirpStack provides a gRPC based API that can be used to integrate or extend ChirpStack.

Documentation and binaries

Please refer to the ChirpStack website for documentation and pre-compiled binaries.

Building from source

Requirements

Building ChirpStack requires:

Nix

Nix is used for setting up the development environment which is used for local development and for creating the binaries.

If you do not have Nix installed and do not wish to install it, then you can use the provided Docker Compose based Nix environment. To start this environment execute the following command:

make docker-devshell

Note: You will be able to run the test commands and run cargo build, but cross-compiling will not work within this environment (because it would try start Docker within Docker).

Docker

Docker is used by cross-rs for cross-compiling, as well as some of the make commands.

Starting the development shell

Run the following command to start the development shell:

nix-shell

Or if you do not have Nix installed, execute the following command:

make docker-devshell

Building the UI

To build the ChirpStack UI, execute the following command:

make build-ui

Running ChirpStack tests

Start required services

ChirpStack requires several services like PostgresQL, Redis, Mosquitto, ... to be running before you can run the tests. You need to start these services manually if you started the development shell using nix-shell:

docker compose up -d

Run tests

Run the following command to run the ChirpStack tests:

make test

Building ChirpStack binaries

Before compiling the binaries, you need to install some additional development tools (for cross-compiling, packaging, e.d.). Execute the following command:

make dev-dependencies

Run the following command within the ./chirpstack sub-folder:

# Build AMD64 debug build (optimized for build speed)
make debug-amd64

# Build AMD64 release build (optimized for performance and binary size)
make release-amd64

# Build all packages (all targets, .deb, .rpm and .tar.gz files)
make dist

License

ChirpStack Network Server is distributed under the MIT license. See also LICENSE.