|
1 |
| -# Hello World PhoneGap Application |
| 1 | +# PhoneGap Build Starter Application |
2 | 2 |
|
3 |
| -> A Hello World application built with PhoneGap |
| 3 | +> A Hello World application to get started with PhoneGap Build. |
4 | 4 |
|
5 |
| -## PhoneGap Build |
| 5 | +## Usage |
| 6 | + |
| 7 | +### Run Application |
| 8 | + |
| 9 | + /www/index.html |
| 10 | + |
| 11 | +### Run Tests |
| 12 | + |
| 13 | + /www/spec.html |
| 14 | + |
| 15 | +### PhoneGap/Build |
6 | 16 |
|
7 | 17 | Create a new app with the following repository:
|
8 | 18 |
|
9 | 19 | https://github.com/phonegap/phonegap-start.git
|
10 | 20 |
|
11 |
| -## Run Application |
| 21 | +## Updating the Application |
12 | 22 |
|
13 |
| - /www/index.html |
| 23 | +The application is based on the [Apache Cordova Hello World][cordova-app] app. |
14 | 24 |
|
15 |
| -## Run Tests |
| 25 | +### 1. Update the Source |
16 | 26 |
|
17 |
| - /www/spec.html |
| 27 | + cp cordova-app-hello-world/www www/ |
| 28 | + |
| 29 | +__Do not replace `www/config.xml`.__ |
| 30 | + |
| 31 | +__Do not replace `www/img/logo.png`.__ |
| 32 | + |
| 33 | +### 2. Update index.html |
| 34 | + |
| 35 | +Replace `<h1>Apache Cordova</h1>` with `<h1>PhoneGap</h1>`. |
| 36 | + |
| 37 | +### 3. Update PhoneGap Version |
| 38 | + |
| 39 | + <preference name="phonegap-version" value="x.x.x" /> |
| 40 | + |
| 41 | +### 4. Commit |
18 | 42 |
|
19 |
| -## Issues and Pull Requests |
| 43 | + $ git commit -am "Version x.x.x" |
20 | 44 |
|
21 |
| -This application is a modification of the [Apache Cordova Hello World][1]. |
| 45 | +### 5. Tag |
22 | 46 |
|
23 |
| -For issues with __the application__, please submit an issue or pull request |
24 |
| -to the [Apache Cordova source code][1]. |
| 47 | + $ git tag x.x.x |
25 | 48 |
|
26 |
| -For issues with __the PhoneGap Build integration__, please submit |
27 |
| -an issue or pull request to this project. |
| 49 | +[cordova-app]: http://github.com/apache/cordova-app-hello-world |
28 | 50 |
|
29 |
| -[1]: https://github.com/apache/cordova-app-hello-world |
|
0 commit comments