Giter Club home page Giter Club logo

noia-node-cli's Introduction

NOIA Node CLI

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

Get started

If you want to use globally

Make sure you are root. If not, type:

$ su -

Install noia-node-cli:

$ 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

(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

License

Released under the LGPL-2.1.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.