parent
1d653c7116
commit
12a5eec030
@ -0,0 +1,30 @@ |
||||
sudo yum update -y |
||||
sudo yum install -y golang |
||||
|
||||
# GOROOT is the location where Go package is installed on your system |
||||
export GOROOT=/usr/lib/golang |
||||
|
||||
# GOPATH is the location of your work directory |
||||
export GOPATH=$HOME/projects |
||||
|
||||
# PATH in order to access go binary system wide |
||||
Aloks-iMac:harmony-benchmark alokkothari$ cat /Users/alokkothari/Documents/goworkspace/src/github.com/harmony-benchmark/setup_golang.sh |
||||
sudo yum update -y |
||||
sudo yum install -y golang |
||||
|
||||
# GOROOT is the location where Go package is installed on your system |
||||
export GOROOT=/usr/lib/golang |
||||
|
||||
# GOPATH is the location of your work directory |
||||
export GOPATH=$HOME/projects |
||||
|
||||
# PATH in order to access go binary system wide |
||||
export PATH=$PATH:$GOROOT/bin |
||||
|
||||
# GOROOT is the location where Go package is installed on your system |
||||
export GOROOT=/usr/lib/golang |
||||
|
||||
# GOPATH is the location of your work directory |
||||
export GOPATH=$HOME/projects |
||||
|
||||
# PATH in order to access go binary system wide |
@ -1,22 +0,0 @@ |
||||
version: 0.0 |
||||
os: linux |
||||
files: |
||||
- source: ../ |
||||
destination: /projects/ |
||||
hooks: |
||||
BeforeInstall: |
||||
- location: aws-scripts/say_hello.sh |
||||
timeout: 300 |
||||
runas: root |
||||
AfterInstall: |
||||
- location: aws-scripts/say_hello.sh #maybe start the server |
||||
timeout: 300 |
||||
runas: root |
||||
ApplicationStart: |
||||
- location: aws-scripts/say_hello.sh #maybe start the server. |
||||
timeout: 300 |
||||
runas: root |
||||
ApplicationStop: |
||||
- location: aws-scripts/say_hello.sh |
||||
timeout: 300 |
||||
runas: root |
Loading…
Reference in new issue