Skip to content

Commit aa37053

Browse files
authored
fix(doc): update quick start (#34)
1 parent c574ccb commit aa37053

File tree

1 file changed

+9
-1
lines changed

1 file changed

+9
-1
lines changed

README.md

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,10 +33,18 @@ Please ensure you have the latest versions of Docker and Docker Compose installe
3333
- Docker Compose standalone: [Install Docker Compose on Linux](https://docs.docker.com/compose/install/standalone/)
3434

3535
## Quick Start
36-
To quickly start a fullnode that connect to the Mainnet, simply download and run the [docker-compose](single_node/docker-compose-quick-start.yml) file, or use the following Docker command:
36+
To quickly start a java-tron node that connects to the Mainnet, simply use the following Docker command:
37+
3738
```sh
3839
docker run -it --name tron-node -d --memory="16g" -p 8090:8090 -p 50051:50051 tronprotocol/java-tron
3940
```
41+
42+
Alternatively, you can download and run the [docker-compose](single_node/docker-compose-quick-start.yml) file using the command:
43+
44+
```sh
45+
docker-compose -f docker-compose-quick-start.yml up
46+
```
47+
4048
Once the FullNode starts, it will begin to sync blocks with Mainnet from the genesis block. You can use the following API request to check the current synced blocks:
4149
```
4250
Request:

0 commit comments

Comments
 (0)