From a915348c6c5be0d23584bb8223ad10de34e89017 Mon Sep 17 00:00:00 2001 From: torresashjian Date: Mon, 1 Apr 2019 12:36:41 -0700 Subject: [PATCH] Move install instructions to docs and create install.sh script --- README.md | 11 +---------- scripts/install.sh | 6 ++++++ 2 files changed, 7 insertions(+), 10 deletions(-) create mode 100644 scripts/install.sh diff --git a/README.md b/README.md index 208ca7e..7101955 100644 --- a/README.md +++ b/README.md @@ -10,16 +10,7 @@ This allows definition of your smart contracts on a model driven approach and ab ## Installation -Install [Go version 1.11.x](https://golang.org/doc/install) and [set GOPATH environment variable](https://golang.org/doc/code.html#GOPATH). Clone this project, then install and test it as follows: -``` -export PATH=${GOPATH}/bin:${PATH} -go get -u -d github.com/TIBCOSoftware/dovetail-cli -cd ${GOPATH}/src/github.com/TIBCOSoftware/dovetail-cli -make -``` -If you see test errors, please refer the Troubleshooting or Support section below. - -For step by step instructions on how to setup Project Dovetailâ„¢ environment, please go to the installation section on the [documentation page](https://tibcosoftware.github.io/dovetail/getting-started/getting-started-cli/) +For step by step instructions on how to setup Project Dovetailâ„¢ cli environment, please go to the installation section on the [documentation page](https://tibcosoftware.github.io/dovetail/getting-started/getting-started-cli/) ### Note on third party dependencies diff --git a/scripts/install.sh b/scripts/install.sh new file mode 100644 index 0000000..e415ddb --- /dev/null +++ b/scripts/install.sh @@ -0,0 +1,6 @@ +#!/bin/bash + +echo "Installing dovetail-cli..." +go get -u -d github.com/TIBCOSoftware/dovetail-cli +cd ${GOPATH}/src/github.com/TIBCOSoftware/dovetail-cli +make install \ No newline at end of file