This commit is contained in:
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
```