Skip to content

Commit 128aa12

Browse files
authored
fix(doc): update trond doc (#72)
1 parent f02ca09 commit 128aa12

File tree

5 files changed

+10
-25
lines changed

5 files changed

+10
-25
lines changed

tools/trond/cmd/docker/docker.go

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,6 @@ var DockerCmd = &cobra.Command{
1414
1515
1. build java-tron docker image locally
1616
2. test the built image
17-
3. pull the latest image from officical docker hub
1817
1918
Please refer to the available commands below.
2019
`),

tools/trond/docs/trond_docker.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@ Commands used for operating docker image, such as:
88

99
1. build java-tron docker image locally
1010
2. test the built image
11-
3. pull the latest image from officical docker hub
1211

1312
Please refer to the available commands below.
1413

tools/trond/docs/trond_node_env-multi.md

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ Check and configure node environment across multiple nodes.
44

55
### Synopsis
66

7-
Warning: this command only support configuration for remote nodes, not inlude the local node on the same server. For local node setup, please refer to "./trond node run-single"
7+
Warning: this command only support configuration for remote nodes, not include the local node on the same server. For local node setup, please refer to "./trond node run-single"
88

99
Default environment configuration for node operation:
1010

@@ -15,11 +15,6 @@ The following files are required:
1515
- Configuration file for private network layout (Please refer to the example configuration file and rewrite it according to your needs)
1616
./conf/private_net_layout.toml
1717

18-
- Docker compose file(by default, these exist in the current repository directory)
19-
single node
20-
private network witness: ./single_node/docker-compose.witness.private.yml
21-
private network fullnode: ./single_node/docker-compose.fullnode.private.yml
22-
2318

2419
```
2520
trond node env-multi [flags]
@@ -31,6 +26,9 @@ trond node env-multi [flags]
3126
# Check and configure node local environment
3227
$ ./trond node env-multi
3328
29+
# Use the scp command to copy files and synchronize databases between multiple nodes:
30+
$ scp -P 2222 local_file.txt [email protected]:/home/user/
31+
3432
```
3533

3634
### Options

tools/trond/docs/trond_node_run-multi.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,4 +34,4 @@ $ ./trond node run-multi
3434
### SEE ALSO
3535

3636
* [trond node](trond_node.md) - Commands for operating java-tron docker node.
37-
* [trond node run-multi stop](trond_node_run-multi_stop.md) - Stop single java-tron node for different networks.
37+
* [trond node run-multi stop](trond_node_run-multi_stop.md) - Stop multi java-tron node for different networks.

tools/trond/docs/trond_node_run-multi_stop.md

Lines changed: 5 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,14 @@
11
## trond node run-multi stop
22

3-
Stop single java-tron node for different networks.
3+
Stop multi java-tron node for different networks.
44

55
### Synopsis
66

77
The following configuration files are required:
88

99
- Configuration file(by default, these exist in the current repository directory)
10-
main network: ./conf/main_net_config.conf
11-
nile network: ./conf/nile_net_config.conf
12-
private network: ./conf/private_net_config_*.conf
13-
- Docker compose file(by default, these exist in the current repository directory)
14-
main network: ./single_node/docker-compose.fullnode.main.yml
15-
nile network: ./single_node/docker-compose.fullnode.nile.yml
16-
private network: ./single_node/docker-compose.witness.private.yml
10+
./conf/private_net_layout.toml
11+
1712

1813

1914
```
@@ -23,14 +18,8 @@ trond node run-multi stop [flags]
2318
### Examples
2419

2520
```
26-
# Stop single java-tron fullnode for main network
27-
$ ./trond node run-single stop -t full-main
28-
29-
# Stop single java-tron fullnode for nile network
30-
$ ./trond node run-single stop -t full-nile
31-
32-
# Stop single java-tron witness node for private network
33-
$ ./trond node run-single stop -t witness-private
21+
# Stop multi java-tron node
22+
$ ./trond node run-multi stop
3423
3524
```
3625

0 commit comments

Comments
 (0)