Auto Deployment from UAT to LIVE (dashboardsupportpod)

Auto Deployment from UAT to LIVE (dashboardsupportpod)



If auto deployment is not working (failed), then we have to merge the changes from UAT to LIVE manually, as below


Login to live.apoyar

- sudo su

- cd

- cd /var/www/dashboardsupportpod/supportpod


and run below 2 commands here


- sudo npm install

- sudo ng build –prod



If this not working, check the status of files

- git status


and then we can checkout the according files with below commands

- git checkout package-lock.json

- git checkout package.json


And then pull the changes

- git pull origin live-dashboard

- sudo npm install

- sudo ng build --prod