-
Notifications
You must be signed in to change notification settings - Fork 267
RSK node from command line
Meri Herrera edited this page May 4, 2018
·
9 revisions
After fulfilling the steps Pre-requisites, Get the source code and Ensure the security chain according to your operating system (Windows, Linux, Mac), you can compile and run an RSK node from command line following this steps.
From the root directory where the code was downloaded execute:
./gradlew build shadow -x test
and after building run:
java -Drsk.conf.file=[conf] -cp [jar] co.rsk.Start
Replace:
-
[jar]: the path to the fatjar generated by the gradle shadow command. It can be found on
rskj-core/build/libs/rskj-core-{version}-all.jar
. -
[conf]: the path to the configuration file for the node. A sample configuration file can be found on:
/classes/production/rskj-core/config/rsk-sample.conf
. Some settings need to be initialized and you can learn to do that here.
It's ready!