fixed ETH_VERSION

This commit is contained in:
cubedro 2015-02-17 20:29:35 +02:00
parent 0870b66468
commit 7e4936ba1d
1 changed files with 4 additions and 3 deletions

View File

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