Project Deployment Using GIT Service

Categories: Project
No Comments

SSH account login using Terminal or putty through port 123, coincidentally here I use the terminal with the format: ssh username_cpanel @ domain –p 123 then enter your cpanel password, when first asked the RSA Key, select yes. After that enter the public_html folder and clone your project The next step is to copy all projects in the cloned folder to the root folder (move the project to the optional root folder as needed) with the command: cp -rfolder_name /. ~ / public_html / then delete the copied folder with the command: rm -rfolder_name / The advantage with deployment using git is that when there is an update file we don’t need to deploy it one by one, all we need to do is push the project to git and through ssh do the git pull command.

SEO services