title: Minifying an existing ExtJS app with Sencha CMD
body: <p>Im looking for a way to minify my extjs app. The app has already (and will have more) 100+ files like views etc which are loading on the launch and I heard that using a Sencha CMD to minify it would be a good idea, when the app will finally get to production.</p>
  
  <p>Unfortunately, Ive ran into some problems while using the Sencha cmd.
  Here's what I did:</p>
  
  <ol>
  <li>downloaded the app to my local</li>
  <li>installed sencha cmd v5.1.2.52</li>
  </ol>
  
  <p>Now I try to simply do 'sencha app build', like the tutorials say. It throws me an error [ERR] Command must be run from an app or package folder. </p>
  
  <p>Already tried doing it in main folder, but also tried in "app" inside it. Always the same error.</p>
  
  <p>I probably missed something, because I read about the .sencha folder, it probably should be in my application's folder, but it isnt. Maybe its because of that?</p>
  
  <p>I've also seen a solution to do a 'sencha app init' (thought it could generate some init folders like .sencha) but the command doesnt exists (maybe it would work on older sencha cmd?).</p>
  
  <p>If someone could be that nice and provide me some steps I should take, or point me the steps I missed, itd be very helpful. I did search for it, most of infos say the 'sencha app build' should work but it didn't, Ive also ran into the 'Sencha SDK' but people says its outdated.</p>