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:41 UTC
[07/50] brooklyn-docs git commit: Update simple-web-cluster example
docs to take cli into account
Update simple-web-cluster example docs to take cli into account
Project: http://git-wip-us.apache.org/repos/asf/brooklyn-docs/repo
Commit: http://git-wip-us.apache.org/repos/asf/brooklyn-docs/commit/6e8d335c
Tree: http://git-wip-us.apache.org/repos/asf/brooklyn-docs/tree/6e8d335c
Diff: http://git-wip-us.apache.org/repos/asf/brooklyn-docs/diff/6e8d335c
Branch: refs/heads/0.4.0
Commit: 6e8d335c49550d7454a085e5933f18d144b2cce2
Parents: 09a88ac
Author: Cosmin Dumitrache <co...@cloudsoftcorp.com>
Authored: Wed May 30 16:39:51 2012 +0100
Committer: Cosmin Dumitrache <co...@cloudsoftcorp.com>
Committed: Wed May 30 16:39:51 2012 +0100
----------------------------------------------------------------------
docs/use/examples/webcluster/webcluster.include.md | 11 ++++++-----
1 file changed, 6 insertions(+), 5 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/brooklyn-docs/blob/6e8d335c/docs/use/examples/webcluster/webcluster.include.md
----------------------------------------------------------------------
diff --git a/docs/use/examples/webcluster/webcluster.include.md b/docs/use/examples/webcluster/webcluster.include.md
index 7d60528..906a7e8 100644
--- a/docs/use/examples/webcluster/webcluster.include.md
+++ b/docs/use/examples/webcluster/webcluster.include.md
@@ -26,8 +26,8 @@ public class SingleWebServerExample extends AbstractApplication {
You can run this (on *nix or Mac) as follows:
{% highlight bash %}
-% cd $EXAMPLES_DIR/simple-web-cluster
-% ./demo-web-cluster.sh
+% cd $EXAMPLES_DIR/simple-web-cluster/brooklyn-example-simple-web-cluster/bin
+% ./web-cluster.sh
{% endhighlight %}
@@ -40,8 +40,8 @@ With appropriate setup (as described [here]({{ site.url }}/use/guide/management/
this can also be deployed to your favourite cloud, let's pretend it's Amazon Ireland, as follows:
{% highlight bash %}
-% cd $EXAMPLES_DIR/simple-web-cluster
-% ./demo-web-server.sh aws-ecs:eu-west-1
+% cd $EXAMPLES_DIR/simple-web-cluster/brooklyn-example-simple-web-cluster
+% ./web-server.sh aws-ecs:eu-west-1
{% endhighlight %}
@@ -50,7 +50,8 @@ this can also be deployed to your favourite cloud, let's pretend it's Amazon Ire
Ready for something more interesting? Try this:
{% highlight bash %}
-simple-web-cluster% ./demo-web-and-data.sh
+% cd $EXAMPLES_DIR/simple-web-cluster/brooklyn-example-simple-web-cluster
+% ./web-and-data.sh
{% endhighlight %}
This launches the class ``WebClusterDatabaseExample`` (also described in the [walkthrough]({{ site.url }}/use/walkthrough.html))