-
Download and install Sencha Cmd
-
Acquire a Sencha SDK distibutive (for example, GPL edition)
-
Unpack Sencha SDK somewere (for example, in
C:\Sencha\sdk\ext-7.0.0
) -
Create some working directory (for example,
C:\Sencha\home
)
mkdir C:\sencha\home
cd C:\sencha\home
- Create a subfolder for your application
mkdir myapp
cd myapp
- Initialize a workspace
sencha -sdk C:\sencha\sdk\ext-7.0.0 generate workspace ws # ws - name of your workspace
cd ws
echo %cd% # Current directory must be C:\sencha\home\myapp\ws
- Create a few applications
sencha generate app --ext HomePage home-page
sencha generate app --ext LoginPage login-page
- Create a few packages
sencha generate package auth-pkg
- Run build
cd C:\sencha\home\myapp\ws\home-page
sencha app build development
sencha app build production
sencha app watch
cd C:\sencha\home\myapp\ws\login-page
sencha app build development
sencha app build production
sencha app watch
See also: