Create a Hybrid item using Sencha Touch: (2) Sencha Touch Generates First Project

  1. Use the sencha cmd tool to generate the app project

    First, go to the folder where the app is to be generated: for example, mine is: /home/king/work/senchaworkspace ,

  2. cd /home/king/work/senchaworkspacesencha-sdk/path/to/framework -dir generate app MyApp.

Among them, /path/to/framework-dir is replaced by /home/king/software/senchaCmd/touch-2.2.1, namely touch The directory of the framework, pay attention to the “.” at the end, which refers to the creation of the app project in the current directory

sencha-sdk /home/king/software/senchaCmd/touch-2.2.1 generate app MyApp.

A more complete writing is:

sencha-sdk /path/to/framework-dir generate app AppName path/to/app

At this point, you can drag the entire MyApp to tomcat’s webapps Directory, then start tomcat, type in the browser address bar: http://localhost:8080/MyApp/,

You can see the project page:

4. Finally, the project is released, you can use the command :

sencha app build

Of course, in the future, the development will be focused on the third step, using plug-ins in eclipse to develop and develop various pages.

WordPress database error: [Table 'yf99682.wp_s6mz6tyggq_comments' doesn't exist]
SELECT SQL_CALC_FOUND_ROWS wp_s6mz6tyggq_comments.comment_ID FROM wp_s6mz6tyggq_comments WHERE ( comment_approved = '1' ) AND comment_post_ID = 3839 ORDER BY wp_s6mz6tyggq_comments.comment_date_gmt ASC, wp_s6mz6tyggq_comments.comment_ID ASC

Leave a Comment

Your email address will not be published.