Repository: cordova-labs
Updated Branches:
  refs/heads/cordova-filetransfer 25493cbf0 -> 5012c5915


Updating README.md to reflect new setup.


Project: http://git-wip-us.apache.org/repos/asf/cordova-labs/repo
Commit: http://git-wip-us.apache.org/repos/asf/cordova-labs/commit/5012c591
Tree: http://git-wip-us.apache.org/repos/asf/cordova-labs/tree/5012c591
Diff: http://git-wip-us.apache.org/repos/asf/cordova-labs/diff/5012c591

Branch: refs/heads/cordova-filetransfer
Commit: 5012c5915448ceed1e05f148d46b3e39ca7c70ae
Parents: 25493cb
Author: Dmitry Blotsky <dmitry.blot...@gmail.com>
Authored: Fri Apr 22 17:53:40 2016 -0700
Committer: Dmitry Blotsky <dmitry.blot...@gmail.com>
Committed: Fri Apr 22 17:53:40 2016 -0700

----------------------------------------------------------------------
 README.md | 37 ++++++++++++++++++++++++++++++-------
 1 file changed, 30 insertions(+), 7 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cordova-labs/blob/5012c591/README.md
----------------------------------------------------------------------
diff --git a/README.md b/README.md
index 851e19f..6d9ccd9 100644
--- a/README.md
+++ b/README.md
@@ -1,11 +1,34 @@
-This the test server for these Cordova FileTransfer Jasmine tests: 
https://github.com/apache/cordova-plugin-file-transfer/blob/master/tests/tests.js
+Description
+===========
 
-It runs on cordova-vm.apache.org. Currently, ask Dmitry Blotsky or Steve Gill 
to
-do deploy it.
+This the test server for these Cordova FileTransfer Jasmine tests: 
https://github.com/apache/cordova-plugin-file-transfer/blob/master/tests/tests.js.
 It runs on cordova-vm.apache.org. Ask Dmitry Blotsky or Richard Knoll to 
deploy it.
 
-The commands to (re)start the server are:
+Running
+=======
 
-    forever list
-    kill [pid for server.js from above command]
-    forever run cordova-labs/server.js
+Control the server with the following commands (possibly requiring `sudo`):
 
+    service filetserver start
+    service filetserver stop
+    service filetserver start
+    service filetserver restart
+
+Updating
+========
+
+Update the server's code with the following commands (possibly requiring `sudo 
-u filetransfer`):
+
+    cd /usr/local/filetransfer/cordova-labs
+    git pull
+    cd ..
+    npm install
+
+For the changes to take effect, restart the server.
+
+Reference
+=========
+
+The server is run from an `init.d` script. For more information about 
`init.d`, see the [Wikipedia page][1] and the [reference][2].
+
+[1]: https://en.wikipedia.org/wiki/Init
+[2]: http://www.tldp.org/HOWTO/HighQuality-Apps-HOWTO/boot.html


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscr...@cordova.apache.org
For additional commands, e-mail: commits-h...@cordova.apache.org

Reply via email to