Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Save more on your purchases! discount-offer-chevron-icon
Savings automatically calculated. No voucher code required.
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
Phonegap Essentials

You're reading from   Phonegap Essentials Use PhoneGap to build cross-platform mobile applications quickly and efficiently

Arrow left icon
Product type Paperback
Published in Sep 2015
Publisher
ISBN-13 9781785284687
Length 178 pages
Edition 1st Edition
Languages
Arrow right icon
Author (1):
Arrow left icon
Ivan Turkovic Ivan Turkovic
Author Profile Icon Ivan Turkovic
Ivan Turkovic
Arrow right icon
View More author details
Toc

Creating a new project

The ability to create a new project with a single command can be a powerful and easy thing to do and so this is one of the most important additions in the command-line interface. It will create the full application structure and you will be ready to start building the app.

Creating a Hello project

Creating a basic project is easy and simple by running the following command:

phonegap create Hello

This will create a new Hello directory in the current directory for a project named Hello. You should get the following response:

Creating a Hello project

This will create the default directory file structure by convention. Some media assets will be included even though we have not yet defined which platform we will support. It should look as follows:

├── hooks
├── platforms
├── plugins
└── www
    ├── css
    ├── img
    ├── js
    ├──...
lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $19.99/month. Cancel anytime
Banner background image