Using with azuredevops or gitlab or redmine

hi guys

can i know how to go about setting up easy engine if i want to use my git server to push files to ee sites? both wordpress / multi and normal php seites

Hey there,

Well, on a high level you basically have to:

  • create an empty Git repo on the server
  • add to the repo from the default EE installation, or your custom code, etc.
  • clone the repo locally to your PC
  • then you have a Git Hook that deploys your pushed code into the htdocs webroot

I’d recommend using branches for added safety (staging, production), backing up either the VPS or the website files on a faster schedule than you normally push (or make a script that you can execute via SSH), and also make a script to apply permissions after you deploy (I think that can be Hooked but not sure).