Skip to content
Baterka edited this page Jan 6, 2020 · 15 revisions

Run scripts usage

You can start (fork) Node by two commands:

  1. yarn run debug -- <ARGUMENTS>
  2. yarn start -- <ARGUMENTS> (assuming you built source by yarn buid)

(You can always use npm instead of yarn)

Commands accepts those arguments:

  • --ip=<IP> - IP address of this Node
  • --port=<PORT> - Port of this Node
  • --rightIp=<IP> - IP address of right Node to connect to
  • --rightPort=<PORT> -Port of right Node to connect to
  • --leader=<true/false> - Is this Node leader? (Optional)
Clone this wiki locally