Skip to content

USC node from command line

Teh Sunn Liu (AlexLiu) edited this page Aug 22, 2018 · 2 revisions

After downloading and installing all the Pre-Requisites. Get the USC source code, you can compile and run USC node from the command line by following these steps.

From the root directory where the code was downloaded execute:

./gradlew build -x test

and after building run:

java [config] -cp [jar] co.usc.Start

Replace:

[config]: -Dusc.conf.file=/<config file path>/usc-sample.conf

[jar]: the path to the fatjar generated by the grade shadow command. It can be found in

Ulord-Sidechain/uscj-core/build/libs/uscj-core-{version}-all.jar

Now your node is up and running.!