Socket
Book a DemoInstallSign in
Socket

@nrfcloud/gateway-registration

Package Overview
Dependencies
Maintainers
14
Versions
13
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@nrfcloud/gateway-registration

A quick way to register gateways

latest
Source
npmnpm
Version
1.3.0
Version published
Maintainers
14
Created
Source

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 or npm 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/

FAQs

Package last updated on 08 Jul 2022

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts