How to Deploy from Local to Bitbucket to Cpanel Automatically

How to Deploy from Local to Bitbucket to Cpanel Automatically.

enable git for users ftp
login as root
run this:

fb987e95a71f6896f732ef670e2de086

log in as user ftp
cd to dir of folder for site
rm -rf *
git remote add origin ssh://[email protected]/inceptionweb/sbc.git

install composer on cpanel
https://joshmountain.com/blog/installing-laravel-and-composer-on-a-cpanel-server/

3ad4a89d1d43bca9e6a7ac38993d5b21

refresh alises bash

Install composer as ftp user instead



errors:

“failed opening required”

1614e0814c46430e0206d73ef4ee88a4

Refs:
https://bruceoutdoors.wordpress.com/2014/01/25/automatic-deployment-workflow-with-bitbucketgit-in-hostgator/
https://www.servermule.com.au/help/cpanel/install-git-cpanel-server/
https://gist.github.com/meganlkm/15ae87674642590172c5
https://forums.glowhost.com/knowledge-base/how-install-laravel-composer-cpanel-server-4736.html

Sam Deering is a web developer from England (currently living in Australia). In his spare time he enjoys coding, playing chess, reading and investing.

One thought on “How to Deploy from Local to Bitbucket to Cpanel Automatically

Leave a Reply

Your email address will not be published. Required fields are marked *