1
0
Fork 0
merge-requests/1/head
progr76@gmail.com 2019-02-10 23:26:29 +03:00
parent 74f945e32e
commit 9eefdc7aad
2 changed files with 47 additions and 47 deletions

View File

@ -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
```

View File

@ -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:<secret word (no spaces)>
sudo pm2 start run-node.js
npm install
node set httpport:8080 password:<secret word (no spaces)>
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:<secret word (no spaces)>
sudo pm2 start run-node.js
npm install
node set httpport:8080 password:<secret word (no spaces)>
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)