Need to do gitlab cicd to ec2 ubuntu instance
Budget: ₹600 – ₹1,500 INR
we manually deploy angularjs project to ec2 ubuntu instance. Now the need is to do cicd in gitlab.
The below are the manual deploying steps:
1. Merge feature branch to develop branch, then merge develop branch to master branch
2. Login to ec2 ubuntu instance(only username) and go to root directory
3. Run the below commands
cd angular_app
git pull
npm install
pm2 list
pm2 restart <process_id>
pm2 logs <process_id>
The below are the manual deploying steps:
1. Merge feature branch to develop branch, then merge develop branch to master branch
2. Login to ec2 ubuntu instance(only username) and go to root directory
3. Run the below commands
cd angular_app
git pull
npm install
pm2 list
pm2 restart <process_id>
pm2 logs <process_id>