First, Installation:
(The premise is that you have to have Java and Tomcat in your computer's environment, and you don't need to install Ruby in ExtJS6.2.)
Download two compressed packages: each one is
EXT-6.2.0-GPL (This is the SDK file for ExtJS, which is needed when creating a new project).
Senchacmd-6.5.2-windows-64bit (this download is decompression, or no pressure.) Anyway, the last to see is an. exe end of the installation file, directly installed to run the PS: Be sure to remember which folder to install under the
Second, the operation:
After installing Senchacmd-6.5.2-windows-64bit.exe, click the Windows Command Prompt window
Go to the Notification window:
Use the CD command to enter the folder you just senchacmd-6.5.2-windows-64bit.exe installed, my path is: C:\USERS\WIN7\BIN\SENCHA\CMD
The effect is as follows:
The command line prompt is as follows:
Enter Sencha help here to see the command-related hints (something similar to those that appear after Javac).
Third, create the first project:
Create a project first find the decompression path for EXT-6.2.0-GPL as shown in
and then in the command line that you just opened, remember that it must be in C:\USERS\WIN7\BIN\SENCHA\CMD . in other words , Run the following statement under the Senchacmd-6.5.2-windows-64bit.exe installation path to create the first demo project.
Create the following statement:
sencha-sdk [ location of extracted ext-6.2.0] Generate app [project name] [Project address]
The first red circle is the EXT-6.2.0-GPL file path that you just unzipped, and the second red circle is the path to the demo you want to generate
But obviously, my generation is too messy, so I decided to create it here, and this time I'm creating a project folder alone to save the generated files.
again, create the situation as above. When the following screen appears, it means that the demo has been created.
then the newly created demo The directory is as follows:
Four, run the demo:
Run the Sencha app watch in the new project folder when you're ready to go. But at this point, the following issues (which I have encountered) will appear
It's obviously because of the CMD The command is not added to the path environment variables, resulting in Sencha command can no longer be used globally (typically, the CMD is installed Add the command directly to the path when , but I don't know why I can't, so I need to add it manually. So you need to add the previous cmd installation path to the path , how to add I will not say, installed Java should know how to add.
C:\USERS\WIN7\BIN\SENCHA\CMD------ "This path is added to the path the environment variable. You can run the Sencha app watch in the generated demo folder as shown in
Open Browser input: localhost:1841 (If 1841 Port number occupied, will automatically become the other port number, pay attention to the inside of the prompt is good), you can view the default generated projects
at this point, a complete demo is in front of you.
Xue Lu Small Wine ExtJS (a): ExtJS 6.2 Project Construction