Deploy code from GIT to cPanel

In this blog we are going to show, how you can upload code from git account to cPanel directly. it contains creating account on cPanel, bitbucket, git commands and process of deployment.

Deploy code from GIT to cPanel

Watch the video for better explanation.

In this Video we are showing
how you can upload code on server directly from GIT account

Requirements for Deployment
1. You must have Cpanel Hosting (We are using hostinger cpanel)
2. You must have GIT account (We are using BitBucket)
3. Basic Knowledge of GIT Commands
4. Basic Knowledge of Hosting

How to Setup A GIT Repository
1. Make account on BitBucket (Any version control system)
2. Create project
3. Make clone of that project on local system
4. Do some changes as per requirement
5. Upload code on git
6. Merge code if required

Setup Hosting & SSH Key pair
1) Purchase domain
2) Purchase hosting
3) Setup Domain with hosting
4) Link GIT with Cpanel
5) SSH Key pairing
6) Deployment


GIT Commands 

1) Git add .
2) Git commit
3) Git pull origin master
4) Git push origin master
5) git checkout -b production
6) git status 

fore more check out website
www.thecobox.com

Thanks
The Cobox Team
Learndphere@gmail.com
info@thecobox.com

What's Your Reaction?

like
1
dislike
0
love
0
funny
0
angry
0
sad
0
wow
0