Results 1 to 2 of 2

Thread: Setting up a production version

  1. #1
    Sencha User
    Join Date
    Aug 2011
    Location
    Plymouth, UK
    Posts
    137
    Answers
    5
    Vote Rating
    -2
      0  

    Default Setting up a production version

    Once i have an app ready to go on line, i put it through the command line to crunch it up etc.

    But the other day went online to refresh my memory and i come across to pages that state to do the following and basically would like to know if thats right or not?

    First I followed:
    http://docs.sencha.com/touch/2-0/#!/guide/building

    so i entered
    Code:
    sencha create jsb -a index.html -p app.jsb3
    then
    Code:
    sencha build -p app.jsb3 -d ./
    not a problem, then i set up the app.json to use app-all.js, then follow the next page of instructions
    http://docs.sencha.com/touch/2-0/#!/guide/command

    Code:
    sencha app build production or package
    then this does its stuff.

    My question is do I need to do the first part as it seems the 'sencha app build...'
    does all the crunching etc and if i just do it that way then it seems to run ok.

    What's the best way to do this etc to deploy for the web? As it seems to work etc but in the first page it says "using Sencha Touch 2.0 beta 1 please be sure to check back..." and we are actually on Beta 3?

    Thanks

  2. #2
    Sencha - Sr Software Engineer mitchellsimoens's Avatar
    Join Date
    Mar 2007
    Location
    Gainesville, FL
    Posts
    39,551
    Answers
    3931
    Vote Rating
    1271
      0  

    Default

    I personally always use Sencha Command to create the app and build the app:

    http://docs.sencha.com/touch/2-0/#!/guide/command
    Mitchell Simoens @LikelyMitch
    Sencha Inc, Senior Software Engineer
    ________________
    Learn BBCode and use it! Checkout the CODE tag!

    Check out my GitHub, lots of nice things for Ext JS and Sencha Touch
    https://github.com/mitchellsimoens

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •