1. #1
    Sencha User
    Join Date
    Aug 2011
    Location
    Plymouth, UK
    Posts
    137
    Vote Rating
    -2
    Answers
    5
    simondavies has a little shameless behaviour in the past

      0  

    Default Unanswered: Setting up a production version

    Unanswered: 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 - Senior Forum Manager mitchellsimoens's Avatar
    Join Date
    Mar 2007
    Location
    Gainesville, FL
    Posts
    37,647
    Vote Rating
    899
    Answers
    3575
    mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute

      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 @SenchaMitch
    Sencha Inc, Senior Forum Manager
    ________________
    Check out my GitHub, lots of nice things for Ext JS 4 and Sencha Touch 2
    https://github.com/mitchellsimoens

    Think my support is good? Get more personalized support via a support subscription. https://www.sencha.com/store/

    Need more help with your app? Hire Sencha Services services@sencha.com

    Want to learn Sencha Touch 2? Check out Sencha Touch in Action that is in print!

    When posting code, please use BBCode's CODE tags.

Thread Participants: 1

Tags for this Thread