Skip to content

Commit

Permalink
Add information about configs (#734)
Browse files Browse the repository at this point in the history
Co-authored-by: Full-Hat <nikita3131228@gmail.com>
  • Loading branch information
pixelplex and Full-Hat committed Aug 30, 2024
1 parent 9d89fdc commit 92f4f50
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 3 deletions.
10 changes: 8 additions & 2 deletions docs/participate/run-nodes/enable-liteserver-node.md
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ MyTonCtrl> enable_mode liteserver

## Check the firewall settings

First, verify the Liteserver port specified in your `config.json` file. This port changes with each new installation of `MyTonCtrl`. It is located in the `port` field:
First, verify the Liteserver port specified in your `/var/ton-work/db/config.json` file. This port changes with each new installation of `MyTonCtrl`. It is located in the `port` field:

```json
{
Expand Down Expand Up @@ -119,7 +119,13 @@ This way, you can open the port in the firewall settings of your server.

## Interaction with Liteserver (Lightclient)

0. Create an empty project on your machine and paste `config.json` in the project directory.
0. Create an empty project on your machine and paste `config.json` in the project directory. This config can be obtained by following command:

```bash
installer clcf # in mytonctrl
```

It will create `/usr/bin/ton/local.config.json` on your machine where mytonctrl is installed. Check [mytonctrl documentation for more](/participate/run-nodes/mytonctrl#clcf).

1. Install libraries.

Expand Down
2 changes: 1 addition & 1 deletion docs/participate/run-nodes/mytonctrl.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -599,7 +599,7 @@ Example:
### clcf
Create local config file
Create local config file (by dafault at `/usr/bin/ton/local.config.json`)
### print_ls_proxy_config
Expand Down

0 comments on commit 92f4f50

Please sign in to comment.