You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cordova.apache.org by ag...@apache.org on 2014/05/06 21:29:35 UTC

[21/34] git commit: Add "adb forward" instructions to harness-push/README.md

Add "adb forward" instructions to harness-push/README.md


Project: http://git-wip-us.apache.org/repos/asf/cordova-app-harness/repo
Commit: http://git-wip-us.apache.org/repos/asf/cordova-app-harness/commit/0f092d2f
Tree: http://git-wip-us.apache.org/repos/asf/cordova-app-harness/tree/0f092d2f
Diff: http://git-wip-us.apache.org/repos/asf/cordova-app-harness/diff/0f092d2f

Branch: refs/heads/master
Commit: 0f092d2f4283846b0ca9f53b8b8602f705ab2406
Parents: 6dad07d
Author: Andrew Grieve <ag...@chromium.org>
Authored: Thu Mar 20 14:20:35 2014 -0700
Committer: Andrew Grieve <ag...@chromium.org>
Committed: Thu Mar 20 14:22:04 2014 -0700

----------------------------------------------------------------------
 harness-push/README.md | 12 +++++++++++-
 1 file changed, 11 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cordova-app-harness/blob/0f092d2f/harness-push/README.md
----------------------------------------------------------------------
diff --git a/harness-push/README.md b/harness-push/README.md
index 8d9ff1b..7ed626a 100644
--- a/harness-push/README.md
+++ b/harness-push/README.md
@@ -1,6 +1,6 @@
 # App Harness Push
 
-This is a [Cordova](http://cordova.io) plugin that integrates with the [App Harness](https://git-wip-us.apache.org/repos/asf/cordova-app-harness.git) to allow pushing new versions of your app over HTTP. This enables live reloading functionality, though making the request is currently the user's responsibility to do manually with `curl`, etc. The plan is to have integration with `cordova watch` or similar, and with [Spark](https://github.com/dart-lang/spark).
+Allows pushing updates of apps to the App Harness.
 
 ## Installation
 
@@ -12,6 +12,16 @@ This is a [Cordova](http://cordova.io) plugin that integrates with the [App Harn
 
 There are currently four kinds of requests you can make:
 
+## Port Forwarding
+
+If you are not on the same network, you can use adb to port forward:
+
+    adb forward tcp:2424 tcp:2424
+
+When done:
+
+    adb forward --remove tcp:2424
+
 ### Push - `cordova serve`
 
 Make a `POST` request on port 2424 to: