From e0602149bfb57de9c80503c972a329c0dc41876e Mon Sep 17 00:00:00 2001 From: Matvey <66329687+mavotronik@users.noreply.github.com> Date: Thu, 14 Sep 2023 23:20:39 +0300 Subject: [PATCH 1/4] Create README_ru.md --- README_ru.md | 1 + 1 file changed, 1 insertion(+) create mode 100644 README_ru.md diff --git a/README_ru.md b/README_ru.md new file mode 100644 index 0000000..6a8d3cb --- /dev/null +++ b/README_ru.md @@ -0,0 +1 @@ +* [Switch to English](https://github.com/README.md) From 0b80f571bbf5b3627cd4d99b704ea1068a7cc49f Mon Sep 17 00:00:00 2001 From: Matvey <66329687+mavotronik@users.noreply.github.com> Date: Thu, 14 Sep 2023 23:32:22 +0300 Subject: [PATCH 2/4] Update README_ru.md --- README_ru.md | 64 +++++++++++++++++++++++++++++++++++++++++++++++++++- 1 file changed, 63 insertions(+), 1 deletion(-) diff --git a/README_ru.md b/README_ru.md index 6a8d3cb..dac6c78 100644 --- a/README_ru.md +++ b/README_ru.md @@ -1 +1,63 @@ -* [Switch to English](https://github.com/README.md) +# Node +* [Switch to English](https://github.com/AploCoin/Node/blob/dev/README.md) +## Installation +Есть 2 способа установки: +- В Docker (Протестировано на: Ubuntu 22.04) +- Из исходного кода (Протестировано на: Ubuntu 18.04, Debian 12, Termux 0.118.0) + +### Docker +1. Обновите список пакетов и установите некоторые необходимые пакеты +``` +sudo apt update +sudo apt install -y nano mc git curl +``` +2. Установите Докер + +Актуальные инструкции [по установке](https://docs.docker.com/engine/install/ubuntu/) Docker + +3. Клонируйте этот репозиторий + +``` +git clone https://github.com/AploCoin/Node -b dev node +``` +4. Отредактируйте файл .env Замените IP адрес в поле ANNOUNCE_ADDRESS на ваш +``` +ANNOUNCE_ADDRESS="yourIP:5050" +``` +5. Соберите контейнер Docker +``` +docker build -t aplo_node:latest . +``` +6. Запустите контейнер +``` +mkdir logs +docker run --network host --name aplo_node -v logs:/Node/logs aplo_node +``` + +### From source +1. Обновите список пакетов и установите некоторые необходимые пакеты +``` +sudo apt update +sudo apt install -y curl git nano build-essential binutils +``` +2. Установите Rust +``` +curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh +``` +3. Клонируйте этот репозиторий + +``` +git clone https://github.com/AploCoin/Node -b dev node +``` +4. Отредактируйте файл .env Замените IP адрес в поле ANNOUNCE_ADDRESS на ваш +``` +ANNOUNCE_ADDRESS="yourIP:5050" +``` +5. Соберите ноду +``` +cargo build --release +``` +6. Запустите ноду +``` +cargo run --release +``` From c40a244acf1cbae501165d8077e359d4fe9b5d4b Mon Sep 17 00:00:00 2001 From: Matvey <66329687+mavotronik@users.noreply.github.com> Date: Thu, 14 Sep 2023 23:32:54 +0300 Subject: [PATCH 3/4] Update README_ru.md --- README_ru.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README_ru.md b/README_ru.md index dac6c78..3c0aef4 100644 --- a/README_ru.md +++ b/README_ru.md @@ -34,7 +34,7 @@ mkdir logs docker run --network host --name aplo_node -v logs:/Node/logs aplo_node ``` -### From source +### Из исходного кода 1. Обновите список пакетов и установите некоторые необходимые пакеты ``` sudo apt update From 82a87316f02303cc61bc20f0e56c38760329593f Mon Sep 17 00:00:00 2001 From: Matvey <66329687+mavotronik@users.noreply.github.com> Date: Thu, 14 Sep 2023 23:39:01 +0300 Subject: [PATCH 4/4] Update README.md Added switch to RU version of Readme --- README.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 7e5543c..88da334 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,5 @@ # Node +* [Переключить на Русский](https://github.com/AploCoin/Node/blob/dev/README_ru.md) ## Installation There is 2 methods of installation: - Docker (tested on Ubuntu 22.04) @@ -12,7 +13,7 @@ sudo apt install -y nano mc git curl ``` 2. Install Docker -Actual instructions to [install](https://docs.docker.com/engine/install/ubuntu/#install-using-the-convenience-script) Docker +Actual instructions to [install](https://docs.docker.com/engine/install/ubuntu/) Docker 3. Clone this repo