You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@brooklyn.apache.org by he...@apache.org on 2016/02/01 18:28:54 UTC

[20/50] brooklyn-docs git commit: Update "before you begin" section for examples

Update "before you begin" section for examples

Now using curl to grab the brooklyn distro and examples


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

Branch: refs/heads/0.4.0
Commit: 082fd78c4641c5cc9943e6bf78ed6e2bf78d38ae
Parents: 72647cf
Author: Cosmin Dumitrache <co...@cloudsoftcorp.com>
Authored: Tue Jul 24 18:01:26 2012 +0100
Committer: Cosmin Dumitrache <co...@cloudsoftcorp.com>
Committed: Wed Jul 25 18:31:30 2012 +0100

----------------------------------------------------------------------
 docs/use/examples/before-begin.include.md | 30 ++++++++++++++++++--------
 1 file changed, 21 insertions(+), 9 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/brooklyn-docs/blob/082fd78c/docs/use/examples/before-begin.include.md
----------------------------------------------------------------------
diff --git a/docs/use/examples/before-begin.include.md b/docs/use/examples/before-begin.include.md
index e739f4b..9f9a70d 100644
--- a/docs/use/examples/before-begin.include.md
+++ b/docs/use/examples/before-begin.include.md
@@ -1,17 +1,29 @@
 ## Before You Begin
 
-To use the examples, you'll need ``git``, ``java``, and ``maven`` (v3) installed.
-Then check them out from [github.com/brooklyncentral/brooklyn-examples](https://github.com/brooklyncentral/brooklyn-examples),
-build, and run:
+To use the examples, you'll need ``curl``, ``java``, and ``maven`` (v3) installed.
 
+First, grab a copy of the Brooklyn distribution:
+
+{% highlight bash %}
+% # download and unpack
+% curl -L http://developers.cloudsoftcorp.com/maven/releases/io/brooklyn/brooklyn-dist/0.4.0-M2/brooklyn-dist-0.4.0-M2-dist.tar.gz | tar xzv
+% # set up an environment variable to point to it for convenience
+% BROOKLYN_HOME=$(pwd)/brooklyn
+{% endhighlight %}
+
+Then, grab a copy of the brooklyn-examples source code and build with Maven:
 {% highlight bash %}
-% git clone https://github.com/brooklyncentral/brooklyn-examples.git
-% cd brooklyn-examples
+% # download and unpack
+% curl -L https://github.com/brooklyncentral/brooklyn-examples/tarball/master | tar xzv
+% # set up an environment variable to point to it for convenience
+% BROOKLYN_EXAMPLES=$(pwd)/brooklyncentral-brooklyn-examples-0.4.0-M2
+% # build with Maven
+% cd $BROOKLYN_EXAMPLES
 % mvn clean install
-% export EXAMPLES_DIR=`pwd`
 {% endhighlight %}
 
-If you hit any issues with the above, see the tips
-for [Maven]({{ site.url }}/dev/build/index.html) and
-[IDEs]({{ site.url }}/dev/build/ide.html).
+For more information about where to download brooklyn please
+see the [download page]({{site.url}}/start/download.html).
 
+If you wish to learn more about the Brooklyn CLI used for launching an app,
+please visit [this section of the user guide]({{site.url}}/use/guide/management/index.html#cli).