|
1 | 1 | # TRON Docker |
2 | 2 |
|
3 | | -This repository provides guidance and tools for the community to quickly get started with TRON network and development. |
| 3 | +This repository provides tools and guidance to help the community quickly get started with the TRON network and development. |
4 | 4 |
|
5 | 5 | ## Features |
6 | 6 |
|
7 | | -### Quick start for single FullNode |
| 7 | +### 🚀 Quick start for single FullNode |
| 8 | +Easily deploy a single TRON FullNode connected to **Mainnet** or **Nile testnet** using Docker. Follow the instructions to get your node up and running in minutes. |
8 | 9 |
|
9 | | -This repository includes Docker configurations to quickly start a single TRON FullNode connected to the Mainnet or NileNet. Simply follow the instructions to get your node up and running in no time. |
| 10 | +### 🔗 Private chain setup |
| 11 | +Set up your own private TRON blockchain network for development and testing. The provided configurations simplify deployment and management, making it ideal for custom use cases. |
10 | 12 |
|
11 | | -### Private chain setup |
12 | | - |
13 | | -You can also use this repository to set up a private TRON blockchain network. This is useful for development and testing purposes. The provided configurations make it straightforward to deploy and manage your own private chain. |
14 | | - |
15 | | -### Node monitoring with Prometheus and Grafana |
16 | | - |
17 | | -Monitoring the health and performance of your TRON nodes is made easy with integrated Prometheus and Grafana services. The repository includes configurations to set up these monitoring tools, allowing you to visualize and track various metrics in real time. |
18 | | - |
19 | | -### Tools |
| 13 | +### 📊 Node monitoring with Prometheus and Grafana |
| 14 | +Monitor the health and performance of your TRON nodes with integrated **Prometheus** and **Grafana** services. Real-time metrics and visualizations are just a few steps away. |
20 | 15 |
|
| 16 | +### 🛠️ Tools |
21 | 17 | We also provide tools to facilitate the CI and testing process: |
22 | | -- Gradle Docker: Using Gradle to automate the build and test processes for java-tron image. |
23 | | -- DB Fork: This tool helps launch a private Java-Tron network based on the state of the Mainnet database to support shadow fork testing. |
| 18 | +- **Gradle Docker**: Automate the build and testing of the `java-tron` Docker image using Gradle. |
| 19 | +- **DBFork**: Launch a private java-tron network based on the Mainnet database state, enabling shadow fork testing. |
24 | 20 |
|
25 | 21 | ## Getting Started |
26 | 22 |
|
27 | 23 | ### Prerequisites |
28 | | - |
29 | 24 | - Docker |
30 | 25 | - Docker Compose |
31 | 26 |
|
32 | | -### Installation |
| 27 | +### Start the services |
| 28 | +First clone the repository: |
| 29 | + |
| 30 | +```sh |
| 31 | +git clone https://github.com/tronprotocol/tron-docker.git |
| 32 | +cd tron-docker |
| 33 | +``` |
33 | 34 |
|
34 | | -1. **Clone the repository:** |
35 | | - ```sh |
36 | | - git clone https://github.com/tronprotocol/tron-docker.git |
37 | | - cd tron-docker |
38 | | - ``` |
| 35 | +Then, navigate to the relevant directory and follow the instructions in the respective README to start the services: |
| 36 | +- **TRON network deployment related:** |
| 37 | + - **Single FullNode**: Use the [single_node](./single_node) folder. |
| 38 | + - **Private TRON network**: Use the [private_net](./private_net) folder. |
| 39 | + - **Node monitoring**: Use the [metric_monitor](./metric_monitor) folder. |
39 | 40 |
|
40 | | -2. **Start the services:** |
41 | | - Navigate to the corresponding directory and follow the instructions in the respective README. Then you can easily start the services. |
42 | | - - To start a single FullNode, use the folder [single_node](./single_node). |
43 | | - - To set up a private TRON network, use the folder [private_net](./private_net). |
44 | | - - To monitor the TRON node, use the folder [metric_monitor](./metric_monitor). |
45 | | - - To use Gradle with Docker, check [gradle docker](./tools/docker/README.md). |
46 | | - - To do shadow fork testing, check [db fork guidance](./tools/dbfork/README.md). |
| 41 | +- **Tools**: |
| 42 | + - **Gradle Docker**: Automate Docker image builds and testing. Check the [gradle docker](./tools/docker/README.md) documentation. |
| 43 | + - **DBFork**: Perform shadow fork testing. Follow the [DBFork guidance](./tools/dbfork/README.md). |
47 | 44 |
|
48 | 45 | ## Troubleshooting |
49 | 46 | If you encounter any difficulties, please refer to the [Issue Work Flow](https://tronprotocol.github.io/documentation-en/developers/issue-workflow/#issue-work-flow), then raise an issue on [GitHub](https://github.com/tronprotocol/tron-docker/issues). For general questions, please use [Discord](https://discord.gg/cGKSsRVCGm) or [Telegram](https://t.me/TronOfficialDevelopersGroupEn). |
50 | 47 |
|
51 | | -# Contributing |
| 48 | +## Contributing |
52 | 49 |
|
53 | 50 | All contributions are welcome. Check [contribution](CONTRIBUTING.md) for more details. |
54 | 51 |
|
55 | | -# License |
| 52 | +## License |
56 | 53 |
|
57 | 54 | This repository is released under the [LGPLv3 license](https://github.com/tronprotocol/tron-docker/blob/main/LICENSE). |
0 commit comments