Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add information about configs #734

Merged
merged 1 commit into from
Aug 30, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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 @@ -580,7 +580,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
Loading