Senin, 01 Juni 2015

Phonehap install offline work 100%



PhoneGap command-line interface and node.js library.




$ npm install -g phonegap


$ phonegap create my-app    # create a PhoneGap project
$ cd my-app                 # change to project directory
$ phonegap run ios          # build and install the app to iOS


Usage: phonegap [options] [commands]

Description:

  PhoneGap command-line tool.

Commands:

  create <path>        create a phonegap project
  build <platform>     build the project for specific platform
  install <platform>   install the project on a specific platform
  run <platform>       build and install the projectfor specific platform
  serve                serve a phonegap project
  local [command]      development on local system
  remote [command]     development in cloud with phonegap/build
  platform [command]   update a platform version
  help [command]       output usage information
  version              output version number

Options:

  -d, --verbose        allow verbose output
  -v, --version        output version number
  -h, --help           output usage information

Platforms:

  keyword            | local environment | remote environment
  -------------------|-------------------|-------------------
  android            | ✔                 | ✔
  blackberry10       | ✔                 | ✖
  ios                | ✔                 | ✔
  wp8                | ✔                 | ✔


Examples:

  $ phonegap help create
  $ phonegap help remote build
  $ phonegap create path/to/my-app
  $ phonegap remote build android


Usage: phonegap local [command]

Description:

  Executes the command on the local system.

  This requires that platform SDK is correctly installed.

Commands:

  build <platform>     build a specific platform
  install <platform>   install a specific platform
  run <platform>       build and install a specific platform
  plugin <command>     add, remove, and list plugins

Examples:

  $ phonegap local build android
  $ phonegap local run android
  $ phonegap local plugin list


Usage: phonegap remote [command]

Description:

  Executes the command remotely using the cloud-based PhoneGap/Build service.

Commands:

  login                login to PhoneGap/Build
  logout               logout of PhoneGap/Build
  build <platform>     build a specific platform
  install <platform>   install a specific platform
  run <platform>       build and install a specific platform

Examples:

  $ phonegap remote login
  $ phonegap remote build android
  $ phonegap remote run android



var phonegap = require('phonegap');


Templates allow you to create a new app from an existing app template. The nice part about templates is that they are simply a Cordova-compatible app. Any existing app can be a template.

You can list the available templates with:
$ phonegap template list

You can create a new project from a template with:
$ phonegap create my-app --template hello-world

Go to Page

Downloads Package

How to Download & Install



Tidak ada komentar:

Posting Komentar