How to update the code - Vinod client?

From PheonixSolutions
Jump to navigation Jump to search

Step 1:- Login to the server

ssh -i Downloads/barqer-website_key.pem azureuser@20.127.39.106
 ssh -i <path of the pem key> username@ip

Step 2:- Proceed gitpull command inside home directory

cd /home/contact
gitpull


Step 3:- Go to tech sheet > Portals tab, copy the bitbucket username & password then paste it on the server

Step 4:- Check pm2 status and restart

pm2 status
pm2 restart all