-
Notifications
You must be signed in to change notification settings - Fork 3
/
steps.txt
45 lines (32 loc) · 1018 Bytes
/
steps.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
Instrucciones:
https://github.com/cryptol0g1c/bitsign-federation
Pasos:
#Pkgs
sudo apt-get install git python-dev build-essential
#Install node
sudo curl -sL https://deb.nodesource.com/setup_7.x | sudo -E bash -
sudo apt-get install nodejs
sudo npm install -g pm2
#Install Parity
wget https://parity-downloads-mirror.parity.io/v1.9.2/x86_64-unknown-linux-gnu/parity_1.9.2_amd64.deb && sudo dpkg -i parity.1.9.2.amd64.deb
git clone https://github.com/cryptol0g1c/bitsign-federation.git
cd bitsign-federation
nohup parity --config config.toml &
git clone https://github.com/cryptol0g1c/eth-net-intelligence-api.git
cd eth-net-intelligence-api
npm install && pm2 start --name stats app.js
pm2 startup
pm2 save
#systemd
[Unit]
Description=Parity BSG Node
After=network.target
[Service]
ExecStart=/usr/bin/parity --config /<DIR>/bitsign-federation/config.toml
WorkingDirectory=/<DIR>/bitsign-federation/
StandardOutput=inherit
StandardError=inherit
Restart=always
User=pi
[Install]
WantedBy=multi-user.target