brooklyn-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From s...@apache.org
Subject [6/9] brooklyn-client git commit: update README for glide deps management
Date Fri, 03 Jun 2016 13:07:47 GMT
update README for glide deps management


Project: http://git-wip-us.apache.org/repos/asf/brooklyn-client/repo
Commit: http://git-wip-us.apache.org/repos/asf/brooklyn-client/commit/23af9d61
Tree: http://git-wip-us.apache.org/repos/asf/brooklyn-client/tree/23af9d61
Diff: http://git-wip-us.apache.org/repos/asf/brooklyn-client/diff/23af9d61

Branch: refs/heads/master
Commit: 23af9d61c998611296c31ee4556eed815287ddd5
Parents: e83190c
Author: John McCabe <john@johnmccabe.net>
Authored: Thu Jun 2 22:56:08 2016 +0100
Committer: John McCabe <john@johnmccabe.net>
Committed: Thu Jun 2 22:56:08 2016 +0100

----------------------------------------------------------------------
 README.md | 17 ++++++++++++-----
 1 file changed, 12 insertions(+), 5 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/brooklyn-client/blob/23af9d61/README.md
----------------------------------------------------------------------
diff --git a/README.md b/README.md
index 7d5cc7b..0438dd7 100644
--- a/README.md
+++ b/README.md
@@ -30,14 +30,21 @@ own fork as a remote.
   to a suitable location for your Go code, for example, simply $HOME/go.
 - Get the Brooklyn CLI and dependencies. 
 
-`go get github.com/apache/brooklyn-client/br`  
+```bash
+go get github.com/apache/brooklyn-client/br
+```
 
     
-## A note on dependency management
+## Installing Dependencies
 
-The CLI has a small number of dependencies, notably on codegansta/cli.  To manage the version
of dependencies, the CLI
-code currently uses Go vendoring. The dependencies are held in the top level 'vendor' directory.
+The CLI has a small number of dependencies, notably on `urfave/cli`.  To manage the version
of dependencies, the CLI
+code currently uses [Glide](https://github.com/Masterminds/glide). The dependencies are installed
to the top level 'vendor' directory.
 
+```bash
+go get github.com/Masterminds/glide
+cd $GOPATH/src/github.com/apache/brooklyn-client
+glide install
+```
 
 ## Compiling the code with Go for development purposes
 
@@ -52,7 +59,7 @@ the file "test_app.yaml" to change the location to your own value, and then
invo
 where the username and password need only be supplied if Brooklyn requires them:
 
 ```bash
-    $ sh test.sh  http://your-brooklyn-host:8081 myuser mypassword
+sh test.sh  http://your-brooklyn-host:8081 myuser mypassword
 ```
 
 Note, the tests are not yet comprehensive, and contributions are welcome.


Mime
View raw message