setting HOME right

pull/14/head
alok 7 years ago
parent 10c54bde0f
commit 165fb13b2f
  1. 2
      aws-scripts/setup_golang.sh
  2. 3
      deploy_one_instance.sh

@ -2,7 +2,7 @@
sudo yum update -y
sudo yum install -y golang
HOME=/home/ec2-user
echo "now setting up go-lang paths"
# GOROOT is the location where Go package is installed on your system
echo "export GOROOT=/usr/lib/golang" >> $HOME/.bash_profile

@ -10,6 +10,9 @@ sudo sysctl -w net.ipv4.tcp_mem='65536 873800 1534217728';
./kill_node.sh
source ~/.bash_profile
export GOROOT=/usr/lib/golang
export GOPATH=$HOME/projects
export PATH=$PATH:$GOROOT/bin
python aws-scripts/preprocess_peerlist.py
FILE='isTransaction.txt'
config=$1

Loading…
Cancel
Save