[
https://issues.apache.org/jira/browse/CB-12173?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Shazron Abdullah resolved CB-12173.
-----------------------------------
Resolution: Fixed
Assignee: Shazron Abdullah
> 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
> Assignee: 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: [email protected]
For additional commands, e-mail: [email protected]