Miss any of our Open RFC calls?Watch the recordings here! »

@noia-network/node-cli

1.0.0-rc • Public • Published

NOIA Node CLI

This is noia-node headless command line for noia-node.

Get started

NPM

If you want to use globally.

NOTICE: You need administrator rights to install globally.

$ npm install @noia-network/node-cli -g

For the FIRST TIME, you need to define master address. It will generate settings.json with defined master address.

$ noia-node-cli --masterAddress ws://csl-masters.noia.network:5565

or environment variable

NOIA_NODE_MASTERS_ADDRESS=ws://csl-masters.noia.network:5565 noia-node-cli

Docker

NOIA Node can be run in Docker. Docker Guide.

(Linux) Register as a SystemD service

To register node as a service, place noia-node.service (remember to modify paths to script) to /etc/systemd/system/ and run using systemctl start noia-node command.

Configuration

For configuration guidelines please refer to noia-node.

CLI Flag Environment variables
--userDataPath NOIA_NODE_USER_DATA_PATH
--settingsPath NOIA_NODE_SETTINGS_PATH
--statisticsPath NOIA_NODE_STATISTICS_PATH
--storageDir NOIA_NODE_STORAGE_DIR
--storageSize NOIA_NODE_STORAGE_SIZE
--domain NOIA_NODE_DOMAIN
--ssl NOIA_NODE_SSL
--sslPrivateKeyPath NOIA_NODE_SSL_PRIVATE_KEY_PATH
--sslCrtPath NOIA_NODE_SSL_CRT_PATH
--sslCrtBundlePath NOIA_NODE_SSL_CRT_BUNDLE_PATH
--publicIp NOIA_NODE_PUBLIC_IP
--http NOIA_NODE_HTTP
--httpIp NOIA_NODE_HTTP_IP
--httpPort NOIA_NODE_HTTP_PORT
--ws NOIA_NODE_WS
--wsIp NOIA_NODE_WS_IP
--wsPort NOIA_NODE_WS_PORT
--wrtc NOIA_NODE_WRTC
--wrtcControlPort NOIA_NODE_WRTC_CONTROL_PORT
--wrtcControlIp NOIA_NODE_WRTC_CONTROL_IP
--wrtcDataPort NOIA_NODE_WRTC_DATA_PORT
--wrtcDataIp NOIA_NODE_WRTC_DATA_IP
--walletAddress NOIA_NODE_WALLET_ADDRESS
--walletMnemonic NOIA_NODE_WALLET_MNEMONIC
--walletProviderUrl NOIA_NODE_WALLET_PROVIDER_URL
--client NOIA_NODE_CLIENT
--masterAddress NOIA_NODE_MASTER_ADDRESS
--whitelistMasters NOIA_NODE_WHITELIST_MASTERS
--controller NOIA_NODE_CONTROLLER
--controllerIp NOIA_NODE_CONTROLLER_IP
--controllerPort NOIA_NODE_CONTROLLER_PORT
--skipBlockchain NOIA_NODE_SKIP_BLOCKCHAIN

Contributing

Read contribution guidelines here.

License

Released under the LGPL-2.1.

Keywords

none

Install

npm i @noia-network/[email protected]

Version

1.0.0-rc

License

LGPL-2.1

Unpacked Size

78.4 kB

Total Files

16

Last publish

Collaborators

  • avatar
  • avatar
  • avatar
  • avatar