Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Newer
Older
100644 72 lines (39 sloc) 1.743 kb
f542061 @mwbrooks [#177] Add Bithound support.
mwbrooks authored
1 # Hello World PhoneGap Application [![bitHound Score][bithound-img]][bithound-url]
3a99658 @mwbrooks Add README.md and UPDATING.md
mwbrooks authored
2
e9ac255 @mwbrooks [doc] Update README.md
mwbrooks authored
3 > A Hello World application built with PhoneGap
3a99658 @mwbrooks Add README.md and UPDATING.md
mwbrooks authored
4
e9ac255 @mwbrooks [doc] Update README.md
mwbrooks authored
5 ## Usage
2f2094d @mwbrooks [doc] Update README.md and merge UPDATING.md.
mwbrooks authored
6
e9ac255 @mwbrooks [doc] Update README.md
mwbrooks authored
7 ### Desktop
53ea24e @mwbrooks [doc] Organize the README.md sections.
mwbrooks authored
8
63e2242 @mwbrooks [doc] Update README.md formatting.
mwbrooks authored
9 In your browser, open the file:
10
11 /www/index.html
2f2094d @mwbrooks [doc] Update README.md and merge UPDATING.md.
mwbrooks authored
12
e9ac255 @mwbrooks [doc] Update README.md
mwbrooks authored
13 ### PhoneGap CLI
2f2094d @mwbrooks [doc] Update README.md and merge UPDATING.md.
mwbrooks authored
14
581ccca @mwbrooks [doc] Update README.md with additional clarification.
mwbrooks authored
15 This repository is automatically downloaded by [phonegap-cli][phonegap-cli-url]
16 when you create a new application.
2f2094d @mwbrooks [doc] Update README.md and merge UPDATING.md.
mwbrooks authored
17
e9ac255 @mwbrooks [doc] Update README.md
mwbrooks authored
18 ### PhoneGap Build
6b10a46 @mwbrooks [#146] Reorganize the nitrous.io section.
mwbrooks authored
19
20 Create a new app with the following repository:
21
22 https://github.com/phonegap/phonegap-start.git
0383bee @arunthampi Add Hack on Nitrous button
arunthampi authored
23
581ccca @mwbrooks [doc] Update README.md with additional clarification.
mwbrooks authored
24 ### Nitrous.io
0383bee @arunthampi Add Hack on Nitrous button
arunthampi authored
25
581ccca @mwbrooks [doc] Update README.md with additional clarification.
mwbrooks authored
26 First [setup nitrous.io][nitrous-url] to use this project.
0383bee @arunthampi Add Hack on Nitrous button
arunthampi authored
27
6b10a46 @mwbrooks [#146] Reorganize the nitrous.io section.
mwbrooks authored
28 Then run the following commands in the nitrous.io terminal:
3a99658 @mwbrooks Add README.md and UPDATING.md
mwbrooks authored
29
581ccca @mwbrooks [doc] Update README.md with additional clarification.
mwbrooks authored
30 $ cd ~/workspace/phonegap-start
31 $ npm install -g phonegap
32 $ phonegap remote build android
3a99658 @mwbrooks Add README.md and UPDATING.md
mwbrooks authored
33
6b10a46 @mwbrooks [#146] Reorganize the nitrous.io section.
mwbrooks authored
34 The last command requires an Adobe ID and will build your app on PhoneGap Build.
3a99658 @mwbrooks Add README.md and UPDATING.md
mwbrooks authored
35
53ea24e @mwbrooks [doc] Organize the README.md sections.
mwbrooks authored
36 ## Contributors
37
38 ### Updating the Application
3a99658 @mwbrooks Add README.md and UPDATING.md
mwbrooks authored
39
2f2094d @mwbrooks [doc] Update README.md and merge UPDATING.md.
mwbrooks authored
40 The application is based on the [Apache Cordova Hello World][cordova-app] app.
3a99658 @mwbrooks Add README.md and UPDATING.md
mwbrooks authored
41
53ea24e @mwbrooks [doc] Organize the README.md sections.
mwbrooks authored
42 #### 1. Update the Source
3a99658 @mwbrooks Add README.md and UPDATING.md
mwbrooks authored
43
2f2094d @mwbrooks [doc] Update README.md and merge UPDATING.md.
mwbrooks authored
44 cp cordova-app-hello-world/www www/
45
46 __Do not replace `www/config.xml`.__
47
48 __Do not replace `www/img/logo.png`.__
49
53ea24e @mwbrooks [doc] Organize the README.md sections.
mwbrooks authored
50 #### 2. Update index.html
2f2094d @mwbrooks [doc] Update README.md and merge UPDATING.md.
mwbrooks authored
51
52 Replace `<h1>Apache Cordova</h1>` with `<h1>PhoneGap</h1>`.
53
53ea24e @mwbrooks [doc] Organize the README.md sections.
mwbrooks authored
54 #### 3. Update PhoneGap Version
2f2094d @mwbrooks [doc] Update README.md and merge UPDATING.md.
mwbrooks authored
55
56 <preference name="phonegap-version" value="x.x.x" />
57
53ea24e @mwbrooks [doc] Organize the README.md sections.
mwbrooks authored
58 #### 4. Commit
3a99658 @mwbrooks Add README.md and UPDATING.md
mwbrooks authored
59
2f2094d @mwbrooks [doc] Update README.md and merge UPDATING.md.
mwbrooks authored
60 $ git commit -am "Version x.x.x"
3a99658 @mwbrooks Add README.md and UPDATING.md
mwbrooks authored
61
53ea24e @mwbrooks [doc] Organize the README.md sections.
mwbrooks authored
62 #### 5. Tag
3a99658 @mwbrooks Add README.md and UPDATING.md
mwbrooks authored
63
2f2094d @mwbrooks [doc] Update README.md and merge UPDATING.md.
mwbrooks authored
64 $ git tag x.x.x
3a99658 @mwbrooks Add README.md and UPDATING.md
mwbrooks authored
65
e9ac255 @mwbrooks [doc] Update README.md
mwbrooks authored
66 [phonegap-cli-url]: http://github.com/phonegap/phonegap-cli
2f2094d @mwbrooks [doc] Update README.md and merge UPDATING.md.
mwbrooks authored
67 [cordova-app]: http://github.com/apache/cordova-app-hello-world
d10985d @mortonfox Fixed nitrous-url.
mortonfox authored
68 [nitrous-url]: https://www.nitrous.io/hack_button?source=embed&runtime=nodejs&repo=phonegap%2Fphonegap-start&file_to_open=README.md
f542061 @mwbrooks [#177] Add Bithound support.
mwbrooks authored
69 [bithound-img]: https://www.bithound.io/github/phonegap/phonegap-start/badges/score.svg
70 [bithound-url]: https://www.bithound.io/github/phonegap/phonegap-start
3a99658 @mwbrooks Add README.md and UPDATING.md
mwbrooks authored
71
Something went wrong with that request. Please try again.