From 9eefdc7aade6976d2a2494ceedec037097858e12 Mon Sep 17 00:00:00 2001 From: "progr76@gmail.com" Date: Sun, 10 Feb 2019 23:26:29 +0300 Subject: [PATCH] 0.884 --- Doc/Rus/README.md | 46 ++++++++++++++++++++++----------------------- README.md | 48 +++++++++++++++++++++++------------------------ 2 files changed, 47 insertions(+), 47 deletions(-) diff --git a/Doc/Rus/README.md b/Doc/Rus/README.md index ad7a03c..4b94c7f 100644 --- a/Doc/Rus/README.md +++ b/Doc/Rus/README.md @@ -30,7 +30,7 @@ https://terafoundation.org/web-wallet.html 3. Далее выполните команды (для этого запустите программу cmd или PowerShell): ``` cd ..\..\..\ -git clone https://git.code.sf.net/p/tera/code wallet +git clone https://gitlab.com/terafoundation/tera.git wallet npm install --global --production windows-build-tools npm install -g node-gyp cd wallet/Source @@ -73,16 +73,16 @@ git pull ### Дистрибутив CentOS 7: ``` -sudo yum install -y git +yum install -y git curl --silent --location https://rpm.nodesource.com/setup_8.x | sudo bash - -sudo yum install -y nodejs -sudo yum install gcc gcc-c++ -sudo npm install pm2 -g -sudo git clone https://git.code.sf.net/p/tera/code wallet +yum install -y nodejs +yum install gcc gcc-c++ +npm install pm2 -g +git clone https://gitlab.com/terafoundation/tera.git wallet cd wallet/Source -sudo npm install -sudo node set httpport:8080 password:<секретное слово без пробела> -sudo pm2 start run-node.js +npm install +node set httpport:8080 password:<секретное слово без пробела> +pm2 start run-node.js ``` ### открытие всех портов: @@ -95,17 +95,17 @@ systemctl disable firewalld ### Дистрибутив UBUNTU 18.4: ``` -sudo apt-get install -y git -sudo apt-get install -y nodejs -sudo apt-get install -y npm -sudo npm install pm2 -g -sudo git clone https://git.code.sf.net/p/tera/code wallet -sudo apt install build-essential -sudo apt group install "Development Tools" +apt-get install -y git +apt-get install -y nodejs +apt-get install -y npm +npm install pm2 -g +git clone https://gitlab.com/terafoundation/tera.git wallet +apt install build-essential +apt group install "Development Tools" cd wallet/Source -sudo npm install -sudo node set httpport:8080 password:<секретное слово без пробела> -sudo pm2 start run-node.js +npm install +node set httpport:8080 password:<секретное слово без пробела> +pm2 start run-node.js ``` ### открытие портов: @@ -125,8 +125,8 @@ curl -sL https://deb.nodesource.com/setup_8.x | sudo -E bash - ``` cd wallet -sudo git reset --hard -sudo git pull +git reset --hard +git pull ``` ## MAIN NETWORK @@ -147,8 +147,8 @@ httpport:8080 ``` cp -a Source SourceTest cd SourceTest -sudo node set-test httpport:8080 password:SecretWord -sudo pm2 start run-test.js +node set-test httpport:8080 password:SecretWord +pm2 start run-test.js ``` diff --git a/README.md b/README.md index cb63c59..1dd4c79 100644 --- a/README.md +++ b/README.md @@ -31,7 +31,7 @@ Attention: ``` cd ..\..\..\ -git clone https://git.code.sf.net/p/tera/code wallet +git clone https://gitlab.com/terafoundation/tera.git wallet npm install --global --production windows-build-tools npm install -g node-gyp cd wallet/Source @@ -68,16 +68,16 @@ git pull ``` -sudo yum install -y git +yum install -y git curl --silent --location https://rpm.nodesource.com/setup_8.x | sudo bash - -sudo yum install -y nodejs -sudo yum install gcc gcc-c++ -sudo npm install pm2 -g -sudo git clone https://git.code.sf.net/p/tera/code wallet +yum install -y nodejs +yum install gcc gcc-c++ +npm install pm2 -g +git clone https://gitlab.com/terafoundation/tera.git wallet cd wallet/Source -sudo npm install -sudo node set httpport:8080 password: -sudo pm2 start run-node.js +npm install +node set httpport:8080 password: +pm2 start run-node.js ``` ### open ports (all): @@ -100,17 +100,17 @@ sudo git pull ### UBUNTU 18.4: ``` -sudo apt-get install -y git -sudo apt-get install -y nodejs -sudo apt-get install -y npm -sudo npm install pm2 -g -sudo git clone https://git.code.sf.net/p/tera/code wallet -sudo apt install build-essential -sudo apt group install "Development Tools" +apt-get install -y git +apt-get install -y nodejs +apt-get install -y npm +npm install pm2 -g +clone https://gitlab.com/terafoundation/tera.git wallet +apt install build-essential +apt group install "Development Tools" cd wallet/Source -sudo npm install -sudo node set httpport:8080 password: -sudo pm2 start run-node.js +npm install +node set httpport:8080 password: +pm2 start run-node.js ``` ### open ports: @@ -127,8 +127,8 @@ sudo ufw allow 8080/tcp ``` cd wallet -sudo git reset --hard -sudo git pull +git reset --hard +git pull ``` ## MAIN NETWORK @@ -150,8 +150,8 @@ Launch: ``` cp -a Source SourceTest cd SourceTest -sudo node set-test httpport:8080 password:SecretWord -sudo pm2 start run-test.js +node set-test httpport:8080 password:SecretWord +pm2 start run-test.js ``` @@ -208,5 +208,5 @@ sudo pm2 start run-test.js * [Tera White Paper (chinese PDF)](https://sourceforge.net/p/tera/code/ci/master/tree/Doc/Chinese/WP_chinese.pdf?format=raw) ## RUS - [Эта же страница на русском](https://sourceforge.net/p/tera/code/ci/master/tree/Doc/Rus) + [Эта же страница на русском](https://gitlab.com/terafoundation/tera/tree/master/Doc/Rus)