1.3.0 • Published 2 years ago

@nrfcloud/gateway-registration v1.3.0

Weekly downloads
1
License
ISC
Repository
github
Last release
2 years ago

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:

  1. Clone this repo
  2. Run npm install
  3. Run npm run build
  4. 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
  5. Run npm run start for normal runs or npm run start:env for using your own environment variables
  6. 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/