CordovaFirefoxOS: Difference between revisions

Jump to navigation Jump to search
no edit summary
No edit summary
Line 127: Line 127:
==Running an early dev version==
==Running an early dev version==
<pre>
<pre>
$ git clone https://github.com/jlongster/cordova-cli.git
$ git clone https://github.com/mozilla-cordova/cordova-cli.git
$ cd cordova-cli && npm install
$ cd cordova-cli && npm install
$ cd ..
$ cd ..
Line 135: Line 135:
$ cd cordova-cli && npm install ../cordova-plugman
$ cd cordova-cli && npm install ../cordova-plugman
$ cd ..
$ cd ..
$ git clone https://github.com/jlongster/cordova-firefoxos.git
$ git clone https://github.com/mozilla-cordova/cordova-firefoxos.git
</pre>
</pre>
Create a dir (possibly a bug it should be autocreated or used from another dir)
Create a dir (possibly a bug it should be autocreated or used from another dir)
Line 149: Line 149:
<pre>
<pre>
$ cordova create fxos-app
$ cordova create fxos-app
$ cd fxos-app
$ cordova platform add firefoxos
$ cordova platform add firefoxos
</pre>
</pre>
Add plugins from github or local disk
Add plugins from github or local disk
<pre>
<pre>
$ cordova plugin add https://github.com/jlongster/cordova-plugin-device.git
$ cordova plugin add https://github.com/mozilla-cordova/cordova-plugin-device.git
$ cordova plugin add ../cordova-plugin-contacts
$ cordova plugin add ../cordova-plugin-contacts
</pre>
</pre>
9

edits

Navigation menu