Difference between revisions of "Imperial Dirac WebApp"
From GridPP Wiki
Line 30: | Line 30: | ||
cd ~ | cd ~ | ||
git clone https://github.com/DIRACGrid/WebAppDIRAC.git | git clone https://github.com/DIRACGrid/WebAppDIRAC.git | ||
− | git checkout | + | cd WebAppDIRAC |
+ | git checkout v4r0p16 | ||
rm Lib/Compiler.py # Force new compiler (looks like this file is gone) | rm Lib/Compiler.py # Force new compiler (looks like this file is gone) | ||
cd /opt/dirac | cd /opt/dirac |
Revision as of 13:55, 27 July 2020
# Working out versions # extjs version can be seen in bundled release version # (http://diracproject.web.cern.ch/diracproject/tars/WebAppDIRAC-v4r0p11.tar.gz) # Look at top of WebApp/static/extjs/ext-all.js file to extract this # # SenchaCmd needs to be same major version as extjs, minor version can be # higher su - dirac mkdir sbin cd sbin wget http://cdn.sencha.com/cmd/6.5.0/no-jre/SenchaCmd-6.5.0-linux-amd64.sh.zip unzip SenchaCmd-6.5.0-linux-amd64.sh.zip ./SenchaCmd-6.5.0.180-linux-amd64.sh [...] # Install default package set to /opt/dirac/sbin/Sencha/Cmd/6.5.0.180 Where should Sencha Cmd be installed? /opt/dirac/sbin/Sencha/Cmd/6.5.0.18 # Don't bother with "Add to path?" as that only edits .zshrc (if you accidentally hit yes, tidy up .zshrc afterwards) export PATH=$PATH:/opt/dirac/sbin/Sencha/Cmd cd ~ mkdir extjs cd extjs wget http://cdn.sencha.com/ext/gpl/ext-6.2.0-gpl.zip unzip ext-6.2.0-gpl.zip cd ~ git clone https://github.com/DIRACGrid/WebAppDIRAC.git cd WebAppDIRAC git checkout v4r0p16 rm Lib/Compiler.py # Force new compiler (looks like this file is gone) cd /opt/dirac source bashrc # the dirac-webapp-compile.py has now wandered of in the management repo (under dirac_distribution): # note: we never finished debugging this, instead went back to the old version # you also need the diraccfg repo (not in v4r0) python WebAppDIRAC/scripts/dirac-webapp-compile.py -n WebAppDIRAC -P /opt/dirac/extjs/ext-6.2.0/packages # Second bit not actually installed on production service yet python WebAppDIRAC/scripts/dirac-webapp-compile.py -n VMDIRAC -P /opt/dirac/extjs/ext-6.2.0/packages