Thursday, July 26, 2012

Tutorial - Installation of Sencha Touch 2 on a Mac

Install the SenchaTouch2 SDK Tools
  1. Download the Sencha Touch 2 SDK Tools 
  2. Extract the zip file and start the installer
  3. Complete the installation with the default settings

Verify the Installation of the SDK Tools
  1. Open a terminal window and test the "sencha" command - you should see something like:
Sencha Command v2.0.0 Beta 3
Copyright (c) 2012 Sencha Inc.

usage: sencha COMMAND [ARGS]

The available commands are:
   build   build a JSB project
   create bootstrapdata  generate boostrap data
   create jsb   generate a minimal JSB project for an app
   create locale  generate a template locale file from source
   create manifest  generate classes manifest
   package   package your Touch web app into a native bundle
   slice theme   slice a custom theme's images for IE

See 'sencha help COMMAND' for more information on a specific command.

Setup SenchaTouch2 SDK
  1. Download Sencha Touch (you need a email address to receive the download link) 
  2. Create a new folder in your home directory called "SenchaTouch2"
  3. Extract the contents of the downloaded zip file to the SenchaTouch2 folder
  4. Rename the extracted folder to "sdk"

11 comments: