Packaging the application for production
Our theme is created, so now the only thing left is to make the production build and deploy the code on the production web server. Again, we will use Sencha Cmd to do it for us.
- To do a production build, we need to have a terminal opened. We also need to change the directory to the application's root directory and type the following command:
sencha app build
Here's how the command looks on the terminal:
- Once the command execution is completed, it will create a new directory called
build/production/NameofTheApp
. As our application namespace isPackt
, it creates the directorybuild/production/Packt
, as follows: ...
Get Mastering Ext JS - Second Edition now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.