aboutsummaryrefslogtreecommitdiffhomepage
path: root/tools/build_rules/appengine/README.md
diff options
context:
space:
mode:
authorGravatar Damien Martin-Guillerez <dmarting@google.com>2015-07-08 11:56:58 +0000
committerGravatar Kristina Chodorow <kchodorow@google.com>2015-07-08 14:53:14 +0000
commit2bac32e10dd044735f22569bf5a1c1ba4b4a2d7f (patch)
treeaa0f80f5fa2e887f8b85d686ccc558e4ad17dd44 /tools/build_rules/appengine/README.md
parent320f1abfb5782058d6be108e026afa05e2b5f192 (diff)
Added a deploy target to AppEngine support
This target enable deploying to AppEngine directly. This change also use template_action instead of file_action for clarity. -- MOS_MIGRATED_REVID=97763347
Diffstat (limited to 'tools/build_rules/appengine/README.md')
-rw-r--r--tools/build_rules/appengine/README.md14
1 files changed, 14 insertions, 0 deletions
diff --git a/tools/build_rules/appengine/README.md b/tools/build_rules/appengine/README.md
index 5090f36b2c..c9c613f909 100644
--- a/tools/build_rules/appengine/README.md
+++ b/tools/build_rules/appengine/README.md
@@ -85,6 +85,20 @@ run in it a development server with `bazel run //hello_app:myapp`. This will
bind a test server on port 8080. If you wish to select another port,
simply append the `--port=12345` to the command-line.
+Another target `//hello_app:myapp.deploy` allows you to deploy your
+application to AppEngine. It takes an optional argument: the
+`APP_ID`. If not specified, it uses the default `APP_ID` provided in
+the application. This target needs to be authorized to AppEngine. Since
+Bazel does not connect the standard input, it is easier to run it by:
+```
+bazel-bin/hello_app/myapp.deploy APP_ID
+```
+
+After the first launch, subsequent launch will be registered to
+AppEngine so you can just do a normal `bazel run
+//hello_app:myapp.deploy APP_ID` to deploy next versions of
+your application.
+
<a name="reference"></a>
## Build Rule Reference [reference]