@nrfcloud/gateway-registration
v1.3.0
Published
A quick way to register gateways
Downloads
43
Maintainers
Keywords
Readme
gateway-registration
A command-line interface to create and register a gateway on nRF Cloud. Also provided is a library for gateway creation services. See dist/gateway-registration.umd.js
Use
To use, you can either clone the repo and run it manually, or just use npx
npx
Simply run npx @nrfcloud/gateway-registration
and login using your nRF Cloud credentials
Locally
You can run it locally:
- Clone this repo
- Run
npm install
- Run
npm run build
- If you want to change the environment variables (like to point to a different backend), copy
.env.sample
to.env
and fill out the values - Run
npm run start
for normal runs ornpm run start:env
for using your own environment variables - Login using your nRF Cloud credentials
Results
A gateway should be created on your account and the configuration, private key and client certificate are copied to ./result/