You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "ASF subversion and git services (JIRA)" <ji...@apache.org> on 2017/09/07 07:43:00 UTC

[jira] [Commented] (CB-12173) Add docs to run local filetransfer server for mobilespec

    [ https://issues.apache.org/jira/browse/CB-12173?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16156626#comment-16156626 ] 

ASF subversion and git services commented on CB-12173:
------------------------------------------------------

Commit c29f54f7f937c71dfa35ee7b922bc3e1733e17e3 in cordova-mobile-spec's branch refs/heads/master from [~shazron]
[ https://git-wip-us.apache.org/repos/asf?p=cordova-mobile-spec.git;h=c29f54f ]

CB-12173 - Add docs to run local filetransfer server for mobilespec


> Add docs to run local filetransfer server for mobilespec
> --------------------------------------------------------
>
>                 Key: CB-12173
>                 URL: https://issues.apache.org/jira/browse/CB-12173
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: cordova-labs, cordova-plugin-file-transfer
>            Reporter: Shazron Abdullah
>
> The cordova-vm filetransfer server could be offline.
> Add docs to show people how to run their own local server.
> The server to run is at:
> https://github.com/apache/cordova-labs/tree/cordova-filetransfer
> And you would override this variable for this test plugin:
> https://github.com/apache/cordova-plugin-file-transfer/blob/9b322dec6790f6d273b8f707bc07976d778c4cf6/tests/plugin.xml#L33
> {code}
> 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"
> {code}
> Run the server:
> {code}
> git clone https://github.com/apache/cordova-labs.git
> cd cordova-labs
> git checkout cordova-filetransfer
> node server.js
> {code}
> Get your local ip by running:
> {code}
> ifconfig
> {code}



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

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