Inform for expected downtime to Responsible person before doing changes LIVE.
Checklist before starting this process
- Make sure you have everything related to deployment etc. production credentials, Logs access, File Manager access.
- Make sure you have sufficient time to handle any situation after deployment. e.g If changes are major then do not upload at 7:30PM, because if anything major issue comes up then you will have to be available to handle any such situations.
1st take backups before doing any changes
- Download Production DB
- Download Project files (which are going to be updated)
- If you zip whole project and download that zip then it also works
2nd List out all the changes which needs to be done
- List out DB changes
- List out File changes
- List out Plugin changes
- or any other production credentials check if there are any
3rd If Mobile Application
- Download current LIVE application in android and iOS devices
- Keep that handy while doing changes in LIVE
- One my one start deploying changes
- Do not upload whole file unless it is new. Just change required code in LIVE
- Keep reviewing changes in LIVE applications side by side, to cross check if anything is affected LIVE application or not.
- Do upload important things first before uploading depended things (e.g. plugin, functions, constants etc.)
*during deployment if anything gets break then make sure we quickly upload backup files (taken in step 1) and make sure no multiple users face such issues. then check logs and fix things accordingly before doing same change again.
4th After Deployment
- Review everything
- Review latest changes in web / API / App (wherever applicable)
- Once everything is uploaded and reviewed inform responsible person that changes are deployed and reviewed.