How to connect Bitbucket code to Lamp on digital ocean

Hi I have code written on Php Codeigniter framework, I pushed the code bitbucket, Created Lamp one click install running on ubuntu 16.04 server on digital ocean. I’m now wondering

  1. how to connect the code from bitbucket to my digitalocean server to point to my server with the app on bitbucket.
  2. how to install SSL to my sub domain. i read about let’s encrypt, how to configure is what i’m missing.

I’m using windows and putty but my problem is how to setup everything and also how to make the bitbucket code to auto commit changes to digitalocean. so each time we change the core code will be available on digitialocean server as well.

Thanks in advance.


Submit an answer
You can type!ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Any update from Digital Ocean team?