Creating a structure
Using our knowledge from previous chapters, we'll create an application skeleton using Sencha Cmd and use it as a basis for our work. We're familiar with this by now:
sencha generate app -ext ArchitectureCms ./architecture-cms
With a simple command, we're up and running with a template. Let's fire up a web server and look for changes in our code:
cd architecture-cms sencha app watch
We can now launch a web browser and navigate to http://localhost:1841
to see the template in action. We don't want any of the example code that's been generated. So, we can remove it with the following command:
rm app/view/main/*
Now, we've got a clean directory structure on which we can build our content management system.