fixed ETH_VERSION
This commit is contained in:
parent
0870b66468
commit
7e4936ba1d
@ -48,14 +48,15 @@ sudo apt-get -y install cloud-utils
|
||||
|
||||
# add node service
|
||||
cd ~/bin
|
||||
|
||||
export EC2_INSTANCE_ID=$(ec2metadata --instance-id)
|
||||
export ETH_VERSION=$(./eth -V)
|
||||
|
||||
[ ! -d "www" ] && git clone https://github.com/cubedro/eth-net-intelligence-api www
|
||||
cd www
|
||||
sudo npm install
|
||||
sudo npm install pm2 -g
|
||||
|
||||
export EC2_INSTANCE_ID=$(ec2metadata --instance-id)
|
||||
export ETH_VERSION=$(eth -V)
|
||||
|
||||
# pm2 start processes.json
|
||||
# pm2 startup ubuntu
|
||||
# pm3 save
|
Loading…
Reference in New Issue
Block a user