Start a new topic

How to create a new project via command-line?

How to create a new project via command-line?


Hey there is a problem with a beginner developer of phonegap and wikitude.

I would like to create a new ios phonegap project by using phonegap 3.3.0, and I had read all the documendation.
However, I have no idea of the whole progress of command.Could anyone tell me all the command of it?
Thank you for help.

 

The attachment is what I faced.

Hi,
This is my 'cheat sheet' when it comes to PhoneGap commands:

## Install PhoneGap Components

```npm``` is assumed to be installed on the machine

 

##### PhoneGap CLI

sudo npm install -g phonegap (sudo npm install -g cordova)

 

##### Plugman

npm install -g plugman

 

 

 

## Create a New Project

cd *Where/Should/The/Project/Be/On/My/Disk*

phonegap create *FolderName* *bundleId* *AppName*

 

 

### Build the Project

cd *FolderName*

 

phonegap build ios

 

 

### Add iOS Plugin

pwd == *FolderName*

 

plugman install --platform ios --project platforms/ios --plugin https://github.com/Wikitude/wikitude-phonegap.git

 

 

plugman uninstall --platform ios --project platforms/ios --plugin com.wikitude.phonegap.WikitudePlugin

 

Hope this helps

Andreas
Login or Signup to post a comment