Web Hosting - LAMP (Linux, Apache, PHP, MySQL) - GIT Deploy

No complex shell scripts needed for managing GIT on your web server! This PHP-based deploy tool has exactly one button for git push and one for git pull.

To set up GIT Deploy on your site:
  1. Set up a Git repository if you haven't already.  DoIT Shared Tools now offers Git repository space at https://git.doit.wisc.edu.
  2. You'll need to take the public key from each site that will communicate with the repository and add it to your GIT repository account's SSH keys.  See Web Hosting - (LAMP) Key-based authentication for the location of your site's public key.
  3. Email webhosting@doit.wisc.edu and let us know the sites (test and/or production) where you'd like to use GIT Deploy and the location within each site where you'd like us to place the deploy script.  By default, we will place it in httpdocs/deploy.  Web Hosting will also set up NetID protection for the deploy script directory with access limited to a Manifest group based on the list of contacts for the account.
  4. Once Web Hosting lets you know that the deploy script is in place, go to the inc/config.php script file and edit the repo, url and remote values to match the locations of your local and remote repositories.

Please contact: webhosting@doit.wisc.edu to have git pull integration enabled for your site!

Keywords:git, lamp, repositories, version, control, push, pull, branch   Doc ID:56926
Owner:Jake S.Group:DoIT Web Hosting
Created:2015-09-30 11:22 CDTUpdated:2015-10-08 15:34 CDT
Sites:DoIT Web Hosting
Feedback:  0   0