From a7dd2ab04cd5366fb7449ac648322b66dfd54754 Mon Sep 17 00:00:00 2001 From: cubedro Date: Tue, 17 Feb 2015 21:04:11 +0200 Subject: [PATCH] fixed build.sh --- bin/build.sh | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/bin/build.sh b/bin/build.sh index 97965d7..c3248f7 100644 --- a/bin/build.sh +++ b/bin/build.sh @@ -35,8 +35,8 @@ cd ethereum cd ~/opt mkdir cpp-ethereum-build cd cpp-ethereum-build -# cmake ~/ethereum/cpp-ethereum -DCMAKE_BUILD_TYPE=Debug -cmake ~/ethereum/cpp-ethereum -DHEADLESS=1 -DEVMJIT=1 -DCMAKE_BUILD_TYPE=Debug +cmake ~/ethereum/cpp-ethereum -DHEADLESS=1 -DCMAKE_BUILD_TYPE=Debug +# cmake ~/ethereum/cpp-ethereum -DHEADLESS=1 -DEVMJIT=1 -DCMAKE_BUILD_TYPE=Debug make -j2 # now let's create bin folder in user's home dir and create symlinks to executables @@ -49,14 +49,14 @@ 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="$(/home/ubuntu/bin/eth -V)" + # pm2 start processes.json # pm2 startup ubuntu # pm3 save \ No newline at end of file