Use Sencha cmd+extjs6 under Mac

Source: Internet
Author: User

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

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.