Changes

85 bytes added ,  10:24, 22 July 2014
Line 1: Line 1:  
== INSTRUCTIONS TO SET UP SUGAR CORDOVA ==
 
== INSTRUCTIONS TO SET UP SUGAR CORDOVA ==
   −
BELOW PROCEDURE IS FOR LINUX (MUST RUN FOR MAC TOO) :
+
=== BELOW PROCEDURE IS FOR LINUX (MUST RUN FOR MAC TOO) : ===
   −
SETTING UP CORDOVA DEVELOPMENT ENVIRONMENT :  
+
==== SETTING UP CORDOVA DEVELOPMENT ENVIRONMENT : ====
    
Pre-Requirements : must have node and npm installed
 
Pre-Requirements : must have node and npm installed
Line 15: Line 15:  
4. cd to cordova-plugman, and repeat the steps for cordova-cli here - ( issuing npm install - same way to correct if any error , issue npm link cordova-lib)
 
4. cd to cordova-plugman, and repeat the steps for cordova-cli here - ( issuing npm install - same way to correct if any error , issue npm link cordova-lib)
   −
ADDITION FOR ADDING THE SUGAR PLATFORM
+
==== ADDITION FOR ADDING THE SUGAR PLATFORM ====
    
1. Add the following in cordova-cli/node_modules/cordova-lib/src/cordova/platforms.js [Note the s in platforms, it differentiates from platform.js] :
 
1. Add the following in cordova-cli/node_modules/cordova-lib/src/cordova/platforms.js [Note the s in platforms, it differentiates from platform.js] :
Line 39: Line 39:  
https://drive.google.com/file/d/0BxC58bMp7xjuNnpWTkRNRFNnY28/edit?usp=sharing
 
https://drive.google.com/file/d/0BxC58bMp7xjuNnpWTkRNRFNnY28/edit?usp=sharing
   −
Now to run and check :
+
==== RUN AND CHECK ====
    
1.Go to cordova-cli/bin and run the command : ./cordova create new_project
 
1.Go to cordova-cli/bin and run the command : ./cordova create new_project
Line 55: Line 55:       −
FOR WINDOWS :
+
=== FOR WINDOWS ===
 +
 
 +
==== SETTING CORDOVA CLI AND ADDING SUGAR ====
 +
 
 
The setting up of cordova is same (get the nodejs msi to install both node and npm)
 
The setting up of cordova is same (get the nodejs msi to install both node and npm)
 
​​
 
​​
Line 81: Line 84:  
https://drive.google.com/file/d/0BxC58bMp7xjuNnpWTkRNRFNnY28/edit?usp=sharing
 
https://drive.google.com/file/d/0BxC58bMp7xjuNnpWTkRNRFNnY28/edit?usp=sharing
   −
Now to run and check :
+
==== RUN AND CHECK ====
    
1.Go to cordova-cli\bin and type : cordova create <prj_directory> <prj_id> <prj_name>
 
1.Go to cordova-cli\bin and type : cordova create <prj_directory> <prj_id> <prj_name>
112

edits