File tree 4 files changed +91
-10
lines changed
4 files changed +91
-10
lines changed Original file line number Diff line number Diff line change @@ -10,15 +10,12 @@ A super modular Ionic starter application.
10
10
11
11
Run ` npm install ` to install all needed dependencies.
12
12
13
- ** Note: Windows users** should remove the following line under ` scripts ` in package.json file:
13
+ ### Install Plugins and Javascript dependencies
14
+ #### Linux/MacOX
15
+ Run ` ./install.sh ` to install all needed plugins and dependencies
14
16
15
- `` "postinstall": "./install.sh" ``
16
-
17
- and, then, run ` npm install ` .
18
-
19
- ### Install Javascript dependencies
20
-
21
- Run ` bower install ` to install all needed dependencies
17
+ #### Windows Users
18
+ Similarly, Windows users should run ` ./install.bat ` .
22
19
23
20
### Run the app
24
21
Use ` grunt serve -l ` to run the app in browser and watch for changes in code
Original file line number Diff line number Diff line change
1
+ ::
2
+ :: Create output (Cordova) directory
3
+ ::
4
+ mkdir www
5
+
6
+ ::
7
+ :: Install client libraries
8
+ ::
9
+ bower install
10
+
11
+ ::
12
+ :: Add target platform
13
+ ::
14
+ :: Comment out the platform(s) your system supports
15
+ ::
16
+ grunt platform:add:ios
17
+ :: grunt platform:add:android
18
+
19
+ ::
20
+ :: Install cordova plugins
21
+ :: There quickest option is to ask from Ionic
22
+ :: to restore the state of the app.
23
+ :: https://github.com/driftyco/ionic-cli::ionic-state-restore
24
+ :: If this process fails comment this line and uncomment the
25
+ :: "cordova plugin add ..." lines that follow.
26
+ ::
27
+ ionic state restore
28
+ ::
29
+ :: cordova plugin add cordova-plugin-device
30
+ :: cordova plugin add cordova-plugin-console
31
+ :: cordova plugin add com.ionic.keyboard
32
+ :: cordova plugin add cordova-plugin-inappbrowser
33
+ :: cordova plugin add cordova-plugin-geolocation
34
+ :: cordova plugin add https://github.com/EddyVerbruggen/SocialSharing-PhoneGap-Plugin.git
35
+ :: cordova plugin add de.appplant.cordova.plugin.email-composer
36
+ :: cordova plugin add cordova-plugin-network-information
37
+ :: cordova plugin add cordova-plugin-whitelist
38
+ :: cordova plugin add cordova-plugin-transport-security
39
+
40
+ ::
41
+ :: Build the project and generate the cordova directory (www)
42
+ ::
43
+ grunt build
Original file line number Diff line number Diff line change
1
+ #
2
+ # Create output (Cordova) directory
3
+ #
1
4
mkdir www
5
+
6
+ #
7
+ # Install client libraries
8
+ #
2
9
bower install
10
+
11
+ #
12
+ # Add target platform
13
+ #
14
+ # Comment out the platform(s) your system supports
15
+ #
16
+ grunt platform:add:ios
17
+ # grunt platform:add:android
18
+
19
+ #
20
+ # Install cordova plugins
21
+ # There quickest option is to ask from Ionic
22
+ # to restore the state of the app.
23
+ # https://github.com/driftyco/ionic-cli#ionic-state-restore
24
+ # If this process fails comment this line and uncomment the
25
+ # "cordova plugin add ..." lines that follow.
26
+ #
3
27
ionic state restore
4
- grunt build
28
+ #
29
+ # cordova plugin add cordova-plugin-device
30
+ # cordova plugin add cordova-plugin-console
31
+ # cordova plugin add com.ionic.keyboard
32
+ # cordova plugin add cordova-plugin-inappbrowser
33
+ # cordova plugin add cordova-plugin-geolocation
34
+ # cordova plugin add https://github.com/EddyVerbruggen/SocialSharing-PhoneGap-Plugin.git
35
+ # cordova plugin add de.appplant.cordova.plugin.email-composer
36
+ # cordova plugin add cordova-plugin-network-information
37
+ # cordova plugin add cordova-plugin-whitelist
38
+ # cordova plugin add cordova-plugin-transport-security
39
+
40
+ #
41
+ # Build the project and generate the cordova directory (www)
42
+ #
43
+ grunt build
Original file line number Diff line number Diff line change 50
50
},
51
51
"scripts" : {
52
52
"test" : " grunt test" ,
53
+ "//" : " Post installation." ,
53
54
"//" : " Uncomment the next line to enable post install script." ,
54
55
"//" : " There is always the option to run it manually." ,
55
- "//" : { "postinstall" : " ./install.sh" }
56
+ "//" : { "postinstall" : " ./install.sh" },
57
+ "//" : { "postinstall" : " ./install.bat" }
56
58
},
57
59
"cordovaPlatforms" : [
58
60
" ios"
You can’t perform that action at this time.
0 commit comments