Wednesday, 15 August 2012

phonegap build - How to initialize a Cordova project using CLI if I only have the www directory of the project? -



phonegap build - How to initialize a Cordova project using CLI if I only have the www directory of the project? -

i'm new phonegap/cordova , installed latest cordova cli via npm. have couple of projects want build/run root dir seems you'd find on www directory of cordova project:

https://github.com/phonegap/phonegap-app-anyconference (phonegap 2.9)

https://github.com/germanviscuso/cowtipline (phonegap 2.0)

how can initialize/upgrade cordova project these projects? want able build , run these project using latest cordova cli. note 2nd project runs on rather old version of phonegap.

i tried phonegap local run android when in phonegap-app-anyconference directory , doesn't work.

best! thx lot.

answering own question (for benefit of other developers seeing entry). can create project source in way:

cordova create myproject --copy-from=path/to/sourceproject

more details here: create project using app starter in phonegap

cordova phonegap-build

No comments:

Post a Comment