Application deployment - dedreval/xdps-docs GitHub Wiki
Pre-deployment steps for converter update
- Pull required converter version from artifactory
- Copy updated converter to project to directory CmsQaService\lib\converter
- Copy updated converter to project to directory CochraneCMS\lib\converter
- Commit and push changes
Update from version control
- Connect via ssh to cochranedev.wiley.com as ctuser
- Go to /CT/build/xdps
- Checkout required version
Pre-deployment steps for SIT and PROD
- Connect to required environment
- Go to JBOSS_INSTALLATION_DIR/standalone/configuration/cochrane-props/cms/cms-cochrane.properties
- Turn off properties for content pulling from SFTP for CCA and CDSR including:
- cms.cochrane.archie.download=true - change to false
- cms.cochrane.aries.download.sftp=true - change to false
- cms.cochrane.cca.download.enabled=true - change to false
- Navigate to XML Database Publishing System > Admin and use "Reload Configuration" link to apply properties change
Build and deploy
- Connect via ssh to cochranedev.wiley.com as ctuser
- Go to /CT/build
- Run build.sh to compile project archives
- Run one of configurations for required environment like remote_qa_SIT.sh to deploy qa component on SIT for example
Post-deployment steps
- Connect via ssh to required host, like cochrane-cms.wiley.com for prod
- Go to /CT/jboss_deploy
- Run restart.sh to restart application server