-
Notifications
You must be signed in to change notification settings - Fork 5
Build a sencha extjs app
Riccardo Campisano edited this page Jul 26, 2017
·
9 revisions
cd
wget -c http://cdn.sencha.com/cmd/6.5.1/no-jre/SenchaCmd-6.5.1-linux-amd64.sh.zip
unzip SenchaCmd-6.5.1-linux-amd64.sh.zip
# USE THE GRAPHIC INSTALL!
# the command-line one '-q -dir ~/sencha/senchacmd' appears that does not work (it loose CSS files)
bash SenchaCmd-6.5.1.240-linux-amd64.sh
exit # reopen the bash to get the 'sencha' command in the env
cd ~/dri/frontend/sky/
# Warn, at upgrade time, it will remove the 'skip.slice=1' conf from 'sencha.cfg' and the build will fail
#### sencha app upgrade # used to update the app for a new sencha command version
sencha app refresh # used in development mode to include new packages
sencha app clean # used to remove no more used files (produced in previous builds)
sencha app build production
# replace the visiomatic builded files with the original (correct) ones
/bin/cp -a ../packages/local/visiomatic/src/visiomatic/dist/* ../build/production/Sky/packages/local/visiomatic/src/visiomatic/dist/
/bin/cp -a ../packages/local/aladin/src/aladin/* ../build/production/Sky/packages/local/aladin/src/aladin/
cd ~/dri/frontend/target/
# Warn, at upgrade time, it will remove the 'skip.slice=1' conf from 'sencha.cfg' and the build will fail
#### sencha app upgrade # used to update the app for a new sencha command version
sencha app refresh # used in development mode to include new packages
sencha app clean # used to remove no more used files (produced in previous builds)
sencha app build production
# replace the visiomatic builded files with the original (correct) ones
/bin/cp -a ../packages/local/visiomatic/src/visiomatic/dist/* ../build/production/Target/packages/local/visiomatic/src/visiomatic/dist/