Tuesday, January 15, 2013

Setting up Sencha SDK on Mac OSX in 3 Steps

I was expecting it to quite simple task but Somehow Sencha people didnt do good documentation.
Here are 3 steps to setup Sencha 2 on OSX Mountain Lion.

Step 1: Download Sencha Touch SDK  Download SDK

Step 2 : Install Sencha SDK Tools, 
Install Sencha SDK Tools

It should set following conf in your .profile file.
export PATH=/Applications/SenchaSDKTools-2.0.0-beta3:$PATH
export PATH=/Applications/SenchaSDKTools-2.0.0-beta3/bin:$PATH
export PATH=/Applications/SenchaSDKTools-2.0.0-beta3/jsbuilder:$PATH
export PATH=/Applications/SenchaSDKTools-2.0.0-beta3:$PATH
export SENCHA_SDK_TOOLS_2_0_0_BETA3="/Applications/SenchaSDKTools-2.0.0-beta3"


Sencha docs doesnt tell you step 3,


Step 3: Install SenchaCmd-3.0.0.250-osx
download SenchaCmd-3.0.0.250-osx
It will add following two lines to .profile file

export PATH=/SOMEDIR/bin/Sencha/Cmd/3.0.0.250:$PATH

export SENCHA_CMD_3_0_0="/SOMEDIR/bin/Sencha/Cmd/3.0.0.250"



Links which helped me :
Scaffolding Sencha Touch App


After Step1,2,3, you should be able to generate app usin