Sugar Cordova: Difference between revisions

 
Line 70: Line 70:
==== Run and Check ====
==== Run and Check ====


# Go to cordova-cli\bin and type : cordova create <prj_directory> <prj_id> <prj_name>
# Go to cordova-cli\bin and type<br>{{Code|cordova create <prj_directory> <prj_id> <prj_name>}}
# cd to the project directory created inside the bin folder
# cd to the project directory created inside the bin folder
# There run the command : <br>{{Code|..\cordova platform add sugar}}
# There run the command <br>{{Code|..\cordova platform add sugar}}
# Then to build, run : <br>{{Code|..\cordova build sugar}}
# Then to build, run <br>{{Code|..\cordova build sugar}}


NOTE : the Windows users must install 7zip and set the environment variable ZIPCOMMAND with the command set ZIPCOMMAND="c:\Program Files\7-Zip\7z.exe" a -r -tzip -aoa before issuing the cordova build command
{{Note/note|Note:|Windows users must install 7zip and set the environment variable ZIPCOMMAND with the command<br>{{Code|<nowiki>set ZIPCOMMAND="c:\Program Files\7-Zip\7z.exe" a -r -tzip -aoa</nowiki>}} before issuing the cordova build command.}}