0.884
This commit is contained in:
parent
74f945e32e
commit
9eefdc7aad
@ -30,7 +30,7 @@ https://terafoundation.org/web-wallet.html
|
|||||||
3. Далее выполните команды (для этого запустите программу cmd или PowerShell):
|
3. Далее выполните команды (для этого запустите программу cmd или PowerShell):
|
||||||
```
|
```
|
||||||
cd ..\..\..\
|
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 --global --production windows-build-tools
|
||||||
npm install -g node-gyp
|
npm install -g node-gyp
|
||||||
cd wallet/Source
|
cd wallet/Source
|
||||||
@ -73,16 +73,16 @@ git pull
|
|||||||
### Дистрибутив CentOS 7:
|
### Дистрибутив CentOS 7:
|
||||||
|
|
||||||
```
|
```
|
||||||
sudo yum install -y git
|
yum install -y git
|
||||||
curl --silent --location https://rpm.nodesource.com/setup_8.x | sudo bash -
|
curl --silent --location https://rpm.nodesource.com/setup_8.x | sudo bash -
|
||||||
sudo yum install -y nodejs
|
yum install -y nodejs
|
||||||
sudo yum install gcc gcc-c++
|
yum install gcc gcc-c++
|
||||||
sudo npm install pm2 -g
|
npm install pm2 -g
|
||||||
sudo git clone https://git.code.sf.net/p/tera/code wallet
|
git clone https://gitlab.com/terafoundation/tera.git wallet
|
||||||
cd wallet/Source
|
cd wallet/Source
|
||||||
sudo npm install
|
npm install
|
||||||
sudo node set httpport:8080 password:<секретное слово без пробела>
|
node set httpport:8080 password:<секретное слово без пробела>
|
||||||
sudo pm2 start run-node.js
|
pm2 start run-node.js
|
||||||
```
|
```
|
||||||
|
|
||||||
### открытие всех портов:
|
### открытие всех портов:
|
||||||
@ -95,17 +95,17 @@ systemctl disable firewalld
|
|||||||
### Дистрибутив UBUNTU 18.4:
|
### Дистрибутив UBUNTU 18.4:
|
||||||
|
|
||||||
```
|
```
|
||||||
sudo apt-get install -y git
|
apt-get install -y git
|
||||||
sudo apt-get install -y nodejs
|
apt-get install -y nodejs
|
||||||
sudo apt-get install -y npm
|
apt-get install -y npm
|
||||||
sudo npm install pm2 -g
|
npm install pm2 -g
|
||||||
sudo git clone https://git.code.sf.net/p/tera/code wallet
|
git clone https://gitlab.com/terafoundation/tera.git wallet
|
||||||
sudo apt install build-essential
|
apt install build-essential
|
||||||
sudo apt group install "Development Tools"
|
apt group install "Development Tools"
|
||||||
cd wallet/Source
|
cd wallet/Source
|
||||||
sudo npm install
|
npm install
|
||||||
sudo node set httpport:8080 password:<секретное слово без пробела>
|
node set httpport:8080 password:<секретное слово без пробела>
|
||||||
sudo pm2 start run-node.js
|
pm2 start run-node.js
|
||||||
```
|
```
|
||||||
|
|
||||||
### открытие портов:
|
### открытие портов:
|
||||||
@ -125,8 +125,8 @@ curl -sL https://deb.nodesource.com/setup_8.x | sudo -E bash -
|
|||||||
|
|
||||||
```
|
```
|
||||||
cd wallet
|
cd wallet
|
||||||
sudo git reset --hard
|
git reset --hard
|
||||||
sudo git pull
|
git pull
|
||||||
```
|
```
|
||||||
|
|
||||||
## MAIN NETWORK
|
## MAIN NETWORK
|
||||||
@ -147,8 +147,8 @@ httpport:8080
|
|||||||
```
|
```
|
||||||
cp -a Source SourceTest
|
cp -a Source SourceTest
|
||||||
cd SourceTest
|
cd SourceTest
|
||||||
sudo node set-test httpport:8080 password:SecretWord
|
node set-test httpport:8080 password:SecretWord
|
||||||
sudo pm2 start run-test.js
|
pm2 start run-test.js
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
||||||
|
48
README.md
48
README.md
@ -31,7 +31,7 @@ Attention:
|
|||||||
|
|
||||||
```
|
```
|
||||||
cd ..\..\..\
|
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 --global --production windows-build-tools
|
||||||
npm install -g node-gyp
|
npm install -g node-gyp
|
||||||
cd wallet/Source
|
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 -
|
curl --silent --location https://rpm.nodesource.com/setup_8.x | sudo bash -
|
||||||
sudo yum install -y nodejs
|
yum install -y nodejs
|
||||||
sudo yum install gcc gcc-c++
|
yum install gcc gcc-c++
|
||||||
sudo npm install pm2 -g
|
npm install pm2 -g
|
||||||
sudo git clone https://git.code.sf.net/p/tera/code wallet
|
git clone https://gitlab.com/terafoundation/tera.git wallet
|
||||||
cd wallet/Source
|
cd wallet/Source
|
||||||
sudo npm install
|
npm install
|
||||||
sudo node set httpport:8080 password:<secret word (no spaces)>
|
node set httpport:8080 password:<secret word (no spaces)>
|
||||||
sudo pm2 start run-node.js
|
pm2 start run-node.js
|
||||||
```
|
```
|
||||||
|
|
||||||
### open ports (all):
|
### open ports (all):
|
||||||
@ -100,17 +100,17 @@ sudo git pull
|
|||||||
### UBUNTU 18.4:
|
### UBUNTU 18.4:
|
||||||
|
|
||||||
```
|
```
|
||||||
sudo apt-get install -y git
|
apt-get install -y git
|
||||||
sudo apt-get install -y nodejs
|
apt-get install -y nodejs
|
||||||
sudo apt-get install -y npm
|
apt-get install -y npm
|
||||||
sudo npm install pm2 -g
|
npm install pm2 -g
|
||||||
sudo git clone https://git.code.sf.net/p/tera/code wallet
|
clone https://gitlab.com/terafoundation/tera.git wallet
|
||||||
sudo apt install build-essential
|
apt install build-essential
|
||||||
sudo apt group install "Development Tools"
|
apt group install "Development Tools"
|
||||||
cd wallet/Source
|
cd wallet/Source
|
||||||
sudo npm install
|
npm install
|
||||||
sudo node set httpport:8080 password:<secret word (no spaces)>
|
node set httpport:8080 password:<secret word (no spaces)>
|
||||||
sudo pm2 start run-node.js
|
pm2 start run-node.js
|
||||||
```
|
```
|
||||||
|
|
||||||
### open ports:
|
### open ports:
|
||||||
@ -127,8 +127,8 @@ sudo ufw allow 8080/tcp
|
|||||||
|
|
||||||
```
|
```
|
||||||
cd wallet
|
cd wallet
|
||||||
sudo git reset --hard
|
git reset --hard
|
||||||
sudo git pull
|
git pull
|
||||||
```
|
```
|
||||||
|
|
||||||
## MAIN NETWORK
|
## MAIN NETWORK
|
||||||
@ -150,8 +150,8 @@ Launch:
|
|||||||
```
|
```
|
||||||
cp -a Source SourceTest
|
cp -a Source SourceTest
|
||||||
cd SourceTest
|
cd SourceTest
|
||||||
sudo node set-test httpport:8080 password:SecretWord
|
node set-test httpport:8080 password:SecretWord
|
||||||
sudo pm2 start run-test.js
|
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)
|
* [Tera White Paper (chinese PDF)](https://sourceforge.net/p/tera/code/ci/master/tree/Doc/Chinese/WP_chinese.pdf?format=raw)
|
||||||
|
|
||||||
## RUS
|
## RUS
|
||||||
[Эта же страница на русском](https://sourceforge.net/p/tera/code/ci/master/tree/Doc/Rus)
|
[Эта же страница на русском](https://gitlab.com/terafoundation/tera/tree/master/Doc/Rus)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user