The author just took over a project, backstage is to use EXTJS6 do the front end, PHP API interface, both through Ajax interaction
No way, no matter how the project to take over, all still have to go on, the people of money to eliminate disaster
First is to install Sencha cmd, Baidu a bit
https://www.sencha.com/products/extjs/cmd-download/
I'm under the Mac version.
After the installation, it is found to rely on the Java JVM, so we have to go to the Oracle website next JDK
Http://www.oracle.com/technetwork/java/javase/downloads/jdk8-downloads-2133151.html
After downloading the corresponding system version of the JDK, go to my installation directory
/users/xxx/www/sencha/cmd/6.0.2.14
Command line execution Sencha will not prompt for Java prompts.
If you do not want to be in the installation directory every time to execute Sencha, you can add to the system variables.
1 temporary method, closing the terminal will fail
Export path=${path}:/users/lixianghui/www/sencha/cmd/6.0.2.14
2 System Variables
Add the change statement to the ~/.bash_profile.
Note that the MVC project built by ExtJS needs to have a. Sencha directory, or it will be an error.
At the same time the project folder also have write permission, otherwise will error, this problem pits my long time.
[ERR] Command must be run from a package folder
Execute CHMOD-R 777 project directory to give maximum permissions
Write A./up.sh
Sencha App Refresh
Sencha App Build Classic
Use Sencha cmd+extjs6 under Mac