1. #1
    Sencha User
    Join Date
    Nov 2010
    Posts
    410
    Vote Rating
    6
    gkatz is on a distinguished road

      0  

    Question sencha sdk getting started

    sencha sdk getting started


    Hi; I am having some difficulties starting with the SDK (windows version)
    the following command does nothing (command is recognized but outputs nothing to console and does not created anything - just finishes quickly):
    'sencha generate app mobile2 mobile2'
    so I have a few questions:
    1. why does nothing happen?
    2. does the first parameter mean the logical app name and the second the folder name to create?
    thanks!

  2. #2
    Sencha User
    Join Date
    Jan 2012
    Location
    London, UK
    Posts
    521
    Vote Rating
    83
    shepsii is just really nice shepsii is just really nice shepsii is just really nice shepsii is just really nice

      0  

    Default


    You need to be in the directory of the full sencha touch 2 download before you do it.

    For instance, I have a xampp installation; within the xampp htdocs folder I have a touch2 directory, which is just an unzipped version of the final ST2 release.

    so I run "cd c:\xampp\htdocs\touch2",

    then this command creates an app called "FirstApp" (this is the title and namespace of the app) at c:\xampp\htdocs\firstapp",

    "sencha app create FirstApp ../firstapp"

    So you have the sencha command, then my understanding is "app create" is the instruction to create a new app, then the next parameter is the title of the app, and finally the directory either relative or absolute on the file system where you want that app created.

    I too had the same problem you had at first, but the key for me was running sencha command from the touch2 full download directory.

  3. #3
    Sencha User
    Join Date
    Nov 2010
    Posts
    410
    Vote Rating
    6
    gkatz is on a distinguished road

      0  

    Default


    thanks it worked...
    weird that it was implemented like this...

Thread Participants: 1