-
6 Jul 2012 5:34 AM #1
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
thenCode:sencha create jsb -a index.html -p app.jsb3
not a problem, then i set up the app.json to use app-all.js, then follow the next page of instructionsCode:sencha build -p app.jsb3 -d ./
http://docs.sencha.com/touch/2-0/#!/guide/command
then this does its stuff.Code:sencha app build production or package
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
-
9 Jul 2012 5:49 AM #2Sencha - Senior Forum Manager
- Join Date
- Mar 2007
- Location
- St. Louis, MO
- Posts
- 33,714
- Vote Rating
- 436
- Answers
- 3113
I personally always use Sencha Command to create the app and build the app:
http://docs.sencha.com/touch/2-0/#!/guide/commandMitchell Simoens @SenchaMitch
Sencha Inc, Senior Forum Manager
________________
http://www.JSONPLint.com - Source to lint your JSONP!
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 almost in print!
When posting code, please use BBCode's CODE tags.


Reply With Quote