From 39c78dc403e5db5642710cbf005e4e960fe83cff Mon Sep 17 00:00:00 2001 From: D Ozgur Cakirkaya Date: Mon, 28 Apr 2025 19:08:00 +0100 Subject: [PATCH 1/3] feat: enhance MyTonCtrl documentation with installation instructions and flags --- cspell.json | 2 +- .../nodes/mytonctrl/mytonctrl-overview.mdx | 41 ++++++++++++++++++- 2 files changed, 40 insertions(+), 3 deletions(-) diff --git a/cspell.json b/cspell.json index c172f8feb9..4a2edd3df0 100644 --- a/cspell.json +++ b/cspell.json @@ -314,7 +314,7 @@ "zerostate", "decentralised", "colour", - "analyse" + "analyse", "ensurepip", "Buildx", "underperforming", diff --git a/docs/v3/documentation/infra/nodes/mytonctrl/mytonctrl-overview.mdx b/docs/v3/documentation/infra/nodes/mytonctrl/mytonctrl-overview.mdx index 804260a375..c5f91abfad 100644 --- a/docs/v3/documentation/infra/nodes/mytonctrl/mytonctrl-overview.mdx +++ b/docs/v3/documentation/infra/nodes/mytonctrl/mytonctrl-overview.mdx @@ -1,4 +1,7 @@ -import Feedback from '@site/src/components/Feedback'; +import Feedback from "@site/src/components/Feedback"; + +import Tabs from "@theme/Tabs"; +import TabItem from "@theme/TabItem"; # MyTonCtrl @@ -10,6 +13,41 @@ To install and manage your own node, use the **MyTonCtrl** open-source tool deve We are actively seeking feedback about the installation process. If you have any questions or suggestions, please [contact us](https://t.me/Alexgton). +## Install the MyTonCtrl + +Download and execute the installation script from a **non-root** user account with **sudo** permissions: + + + + +```bash +wget https://raw.githubusercontent.com/ton-blockchain/mytonctrl/master/scripts/install.sh +sudo bash install.sh +``` + + + + +```bash +wget https://raw.githubusercontent.com/ton-blockchain/mytonctrl/master/scripts/install.sh +su root -c 'bash install.sh' +``` + + + + +**Flags:** + +- `-d` - **mytonctrl** will download a [dump](https://dump.ton.org/) of the latest blockchain state, significantly reducing synchronization time. +- `-c ` - Specify a non-public liteserver for synchronization (optional). +- `-i` - Ignore minimum requirements; use this only if you test the compilation process without running a real node. +- `-m` - Sett the mode either `validator` or `liteserver`. +- `-t` - Disable telemetry. + +**To use testnet**, `-c` flag with the value `https://ton.org/testnet-global.config.json`. + +The default value for the `-c` flag is `https://ton-blockchain.github.io/global.config.json`, which is default configuration for the mainnet. + ## General Commands ### help @@ -781,4 +819,3 @@ No args. Sets a password for the web admin interface, runs `python3 /usr/src/mtc - [Troubleshooting](/v3/guidelines/nodes/nodes-troubleshooting) - From c11a35d971bbf24bcba76ced2a02336f87b33733 Mon Sep 17 00:00:00 2001 From: D Ozgur Cakirkaya Date: Mon, 28 Apr 2025 19:18:12 +0100 Subject: [PATCH 2/3] fix: correct capitalization of MyTonCtrl in flags section --- .../documentation/infra/nodes/mytonctrl/mytonctrl-overview.mdx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/v3/documentation/infra/nodes/mytonctrl/mytonctrl-overview.mdx b/docs/v3/documentation/infra/nodes/mytonctrl/mytonctrl-overview.mdx index c5f91abfad..51751afceb 100644 --- a/docs/v3/documentation/infra/nodes/mytonctrl/mytonctrl-overview.mdx +++ b/docs/v3/documentation/infra/nodes/mytonctrl/mytonctrl-overview.mdx @@ -38,7 +38,7 @@ su root -c 'bash install.sh' **Flags:** -- `-d` - **mytonctrl** will download a [dump](https://dump.ton.org/) of the latest blockchain state, significantly reducing synchronization time. +- `-d` - **MyTonCtrl** will download a [dump](https://dump.ton.org/) of the latest blockchain state, significantly reducing synchronization time. - `-c ` - Specify a non-public liteserver for synchronization (optional). - `-i` - Ignore minimum requirements; use this only if you test the compilation process without running a real node. - `-m` - Sett the mode either `validator` or `liteserver`. From a1c718cdcd90632cadcf077874ab2479b9fa416f Mon Sep 17 00:00:00 2001 From: D Ozgur Cakirkaya Date: Wed, 30 Apr 2025 11:47:11 +0100 Subject: [PATCH 3/3] Update mytonctrl-overview.mdx --- .../infra/nodes/mytonctrl/mytonctrl-overview.mdx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/v3/documentation/infra/nodes/mytonctrl/mytonctrl-overview.mdx b/docs/v3/documentation/infra/nodes/mytonctrl/mytonctrl-overview.mdx index 51751afceb..aace93de34 100644 --- a/docs/v3/documentation/infra/nodes/mytonctrl/mytonctrl-overview.mdx +++ b/docs/v3/documentation/infra/nodes/mytonctrl/mytonctrl-overview.mdx @@ -1,7 +1,7 @@ -import Feedback from "@site/src/components/Feedback"; +import Feedback from '@site/src/components/Feedback'; -import Tabs from "@theme/Tabs"; -import TabItem from "@theme/TabItem"; +import Tabs from '@theme/Tabs'; +import TabItem from '@theme/TabItem'; # MyTonCtrl