Skip to content

Commit

Permalink
Polish runCustom mode description
Browse files Browse the repository at this point in the history
  • Loading branch information
mkalinin authored Oct 24, 2017
1 parent ea1a4a9 commit ea92f71
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -67,8 +67,14 @@ JSON-RPC is available at either `http://localhost:8080/rpc` or `http://localhost
## Run in a custom network <a id="custom-network"></a>
* `git clone https://github.com/ether-camp/ethereum-harmony`
* `cd ethereum-harmony`
* Run Service with custom config: `gradlew runCustom -Dethereumj.conf.file=/path/to/custom.conf`
* It is also possible to use CLI to pass parameters: `gradlew runCustom -Dpeer.networkId=10101 -DgenesisFile=/path/to/custom/genesis.json -Dpeer.discovery.enabled=false -Dpeer.active.0.url=enode://0f4a5f92835a4604ecd9639ddcfb86d2a2999ad9328bc088452efffe4a7c6cd0eaaef77c779dc56fc1d0f21cd578eeb92cb5@23.101.151.28:30303`
* Run Service with custom config:
```
gradlew runCustom -Dethereumj.conf.file=/path/to/custom.conf
```
* It is also possible to use CLI to pass parameters:
```
gradlew runCustom -Dpeer.networkId=10101 -DgenesisFile=/path/to/custom/genesis.json -Dpeer.discovery.enabled=false -Dpeer.active.0.url=enode://0f4a5f92835a4604ecd9639ddcfb86d2a2999ad9328bc088452efffe4a7c6cd0eaaef77c779dc56fc1d0f21cd578eeb92cb5@23.101.151.28:30303
```

**Note:** parameters that haven't been substituted by either custom config or CLI will be supplied from [ethereumj.conf](https://github.com/ethereum/ethereumj/blob/master/ethereumj-core/src/main/resources/ethereumj.conf)

Expand Down

0 comments on commit ea92f71

Please sign in to comment.