@nrfcloud/gateway-registration

1.3.0 • Public • Published

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/

/@nrfcloud/gateway-registration/

    Package Sidebar

    Install

    npm i @nrfcloud/gateway-registration

    Weekly Downloads

    1

    Version

    1.3.0

    License

    ISC

    Unpacked Size

    1.23 MB

    Total Files

    21

    Last publish

    Collaborators

    • nate-sherrett
    • toha-nordic
    • akolosov-nordic
    • melyea
    • gfleming-nordic
    • guckin
    • mdickensnordic
    • apkostka
    • semcc
    • patrick.barnes
    • markkulehto
    • colehafner
    • jayteemo
    • lpthomas
    • nrfcloud-ci
    • johnconley