CordovaFirefoxOS: Difference between revisions

Line 172: Line 172:
}</pre>
}</pre>
Just change `uri` to make it point to your computer.
Just change `uri` to make it point to your computer.
Now you can add the platform and add plugins:
Now you can add the platform
<pre>
<pre>
$ ../cordova-cli/bin/cordova platform add firefoxos
$ ../cordova-cli/bin/cordova platform add firefoxos
$ ../cordova-cli/bin/cordova plugin addhttps://github.com/jlongster/cordova-plugin-device.git
</pre>
Add plugins from github or local disk
<pre>
$ ../cordova-cli/bin/cordova plugin add https://github.com/jlongster/cordova-plugin-device.git
$ ../cordova-cli/bin/cordova plugin add ../cordova-plugin-camera
</pre>
Prepare as usual
<pre>
$ ../cordova-cli/bin/cordova prepare
$ ../cordova-cli/bin/cordova prepare
</pre>
</pre>
Confirmed users
514

edits