Scholar@UC Environment Deployment Procedure - uclibs/ucrate GitHub Wiki
Dev server
- Create a tunnel: 
ssh [email protected] -L 2222:SERVER_NAME:22 - Open new tab and 
cd ucrate - Deploy: cap dev deploy
 - Username: scholar
 - Password: See https://github.com/uclibs/config_vault
 - See https://git.uc.edu/UCLIBS/private_documentation/blob/master/Capistrano_Deploy.md for SERVER_NAME
 - When the deployment is finished, check the log for errors.
 - If you need to re-deploy, you will need to delete the /tmp/git-ssh-Scholar-dev-username.sh from SERVER_NAME
 - Visit https://scholar-dev.uc.edu to verify the site is up.
 
QA server
- Review Risk Matrix : https://github.com/uclibs/scholar_uc/issues/203
 - Create a tunnel to BOTH SERVERS: 
ssh [email protected] -L 2222:SERVER_NAME_1:22 -L 2223:SERVER_NAME_2:22 - Open new tab and 
cd ucrate - Deploy: cap qa deploy
 - Username: scholar
 - Password: See https://git.uc.edu/UCLIBS/config_vault/blob/master/scholar/scholar_accounts.md
 - See https://git.uc.edu/UCLIBS/private_documentation/blob/master/Capistrano_Deploy.md for SERVER_NAME
 - When the deployment is finished, check the log for errors.
 - If you need to re-deploy, you will need to delete the /tmp/git-ssh-Scholar-dev-username.sh from both SERVER_NAME_1 and SERVER_NAME_2
 - Visit https://scholar-qa.uc.edu to verify the site is up.
 - If a Security scan against QA is needed, set date for request of Security scan to be the date of deploy to QA.
 - Visit Service Now and request scan: https://ituc.service-now.com/sp?id=sc_cat_item&sys_id=7837d01c1bdb641047c6a6c6bc4bcbfb
 - If a Service Now scan will take place, await results and determine if remediation is necessary before moving on to Production server.
 
Production server
- Visit UCIT Change Request: https://webapps2.uc.edu/ucit/changemgmt/ChangeManagementForm.aspx
 - Wait for request approval. Once approval has been received, communicate date and time to stake holders.
 - When the deployment is finished, check the log for errors.
 - Visit https://scholar.uc.edu to verify the site is up.