brooklyn-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From henev...@apache.org
Subject [17/50] brooklyn-docs git commit: Fixes docs for CLI instructions
Date Mon, 01 Feb 2016 17:28:51 GMT
Fixes docs for CLI instructions

Project: http://git-wip-us.apache.org/repos/asf/brooklyn-docs/repo
Commit: http://git-wip-us.apache.org/repos/asf/brooklyn-docs/commit/5ab7bd05
Tree: http://git-wip-us.apache.org/repos/asf/brooklyn-docs/tree/5ab7bd05
Diff: http://git-wip-us.apache.org/repos/asf/brooklyn-docs/diff/5ab7bd05

Branch: refs/heads/0.4.0
Commit: 5ab7bd05dca670bbf1e6079b48e7b1f332f1f515
Parents: 4529ae0
Author: Aled Sage <aled.sage@gmail.com>
Authored: Thu Jul 19 20:58:48 2012 +0100
Committer: Aled Sage <aled.sage@gmail.com>
Committed: Thu Jul 19 20:58:48 2012 +0100

----------------------------------------------------------------------
 docs/use/guide/management/index.md | 13 ++++++++-----
 1 file changed, 8 insertions(+), 5 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/brooklyn-docs/blob/5ab7bd05/docs/use/guide/management/index.md
----------------------------------------------------------------------
diff --git a/docs/use/guide/management/index.md b/docs/use/guide/management/index.md
index f010836..51474f9 100644
--- a/docs/use/guide/management/index.md
+++ b/docs/use/guide/management/index.md
@@ -60,7 +60,7 @@ In order to have easy access to the cli it is useful to configure the PATH
envir
 
 {% highlight bash %}
 % BROOKLYN_HOME=/path/to/brooklyn/
-% export PATH=$PATH:$BROOKLYN_HOME/usage/dist/target/brooklyn-0.4..0-SNAPSHOT-dist/brooklyn/bin
+% export PATH=$PATH:$BROOKLYN_HOME/usage/dist/target/brooklyn-0.4.0-SNAPSHOT-dist/brooklyn-0.4.0-SNAPSHOT/bin/
 {% endhighlight %}
 
 If you have set this up correctly you should be able to invoke the ```brooklyn``` command:
@@ -82,12 +82,15 @@ The most commonly used brooklyn commands are:
 See 'brooklyn help <command>' for more information on a specific command.
 {% endhighlight %}
 
-Here is an example of the commands you might run to launch a Brooklyn application:
+Here is an example of the commands you might run to get the Brooklyn code, compile it and
launch an application:
 
 {% highlight bash %}
-% BROOKLYN_HOME=/path/to/brooklyn
-% PATH=$PATH:${BROOKLYN_HOME}/usage/dist/target/brooklyn-0.4.0-SNAPSHOT-dist/brooklyn/bin
-% export BROOKLYN_CLASSPATH=${BROOKLYN_HOME}/examples/simple-web-cluster/target/brooklyn-example-simple-web-cluster-0.4.0-SNAPSHOT.jar
+git clone https://github.com/brooklyncentral/brooklyn.git
+% cd brooklyn
+% mvn clean install -DskipTests
+% BROOKLYN_HOME=$(pwd)
+% export PATH=$PATH:$BROOKLYN_HOME/usage/dist/target/brooklyn-0.4.0-SNAPSHOT-dist/brooklyn-0.4.0-SNAPSHOT/bin/
+% export BROOKLYN_CLASSPATH=$BROOKLYN_HOME/examples/simple-web-cluster/target/brooklyn-example-simple-web-cluster-0.4.0-SNAPSHOT.jar
 % brooklyn launch --app brooklyn.demo.SingleWebServerExample --location localhost
 {% endhighlight %}
 


Mime
View raw message