-
Notifications
You must be signed in to change notification settings - Fork 0
Home
Baterka edited this page Jan 6, 2020
·
15 revisions
You can start (fork) Node by two commands:
yarn run debug -- <ARGUMENTS>
-
yarn start -- <ARGUMENTS>
(assuming you built source byyarn 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)