You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cordova.apache.org by ja...@apache.org on 2018/11/24 11:47:11 UTC

[cordova-mobile-spec] 04/04: Move instructions of Cordova Plugin File-Transfer tests server to its repo: https://github.com/apache/cordova-labs/tree/cordova-filetransfer

This is an automated email from the ASF dual-hosted git repository.

janpio pushed a commit to branch janpio-cleanup_readmes
in repository https://gitbox.apache.org/repos/asf/cordova-mobile-spec.git

commit 3fc98ac3f30677e15d1faed8a1c770b10a8d0862
Author: Jan Piotrowski <pi...@gmail.com>
AuthorDate: Sat Nov 24 12:29:41 2018 +0100

    Move instructions of Cordova Plugin File-Transfer tests server to its repo: https://github.com/apache/cordova-labs/tree/cordova-filetransfer
---
 README.md | 23 ++---------------------
 1 file changed, 2 insertions(+), 21 deletions(-)

diff --git a/README.md b/README.md
index 3ad9448..2681e85 100644
--- a/README.md
+++ b/README.md
@@ -26,25 +26,6 @@ This repository contains a special Cordova app that provides a set of automated
 
 After setting this project up, you can ...
 
-### Running a Local File-Transfer Server
+### Cordova Plugin File-Transfer Tests
 
-If the `cordova-vm` file-transfer server at http://cordova-vm.apache.org:5000 (which is used for the `cordova-plugin-file-transfer` tests) is offline, you can also run the server locally:
-
-- https://github.com/apache/cordova-labs/tree/cordova-filetransfer
-- Checkout and run the server:
-    ```shell
-    git clone https://github.com/apache/cordova-labs.git
-    cd cordova-labs
-    git checkout cordova-filetransfer
-    node server.js
-    ```
-- Overwrite [this variable](https://github.com/apache/cordova-plugin-file-transfer/blob/9b322dec6790f6d273b8f707bc07976d778c4cf6/tests/plugin.xml#L33) for the test plugin. Run this in your mobilespec test project:
-    ```shell
-    cordova plugin rm cordova-plugin-file-transfer-tests
-    cordova plugin add path/to/cordova-plugin-file-transfer/tests --variable FILETRANSFER_SERVER_ADDRESS="http://yourlocal-IPAddressHere:5000"
-    ```
-    - Get your local ip by running:
-    ```shell
-    ifconfig # Linux, macOS
-    ipconfig # Windows
-    ```
+Tests of Cordova Plugin File-Transfer require a test server. [Follow these instructions to install and run the server and configure the plugin.](https://github.com/apache/cordova-labs/tree/cordova-filetransfer)
\ No newline at end of file


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