Skip to content

Instantly share code, notes, and snippets.

View planetmaker's full-sized avatar

Ingo von Borstel planetmaker

  • Institute for Geophysics and extraterrestrial Physics, Technische Universität Braunschweig
View GitHub Profile
@nichtich
nichtich / README.md
Last active July 19, 2024 11:21 — forked from oodavid/README.md
How to automatically deploy from GitHub

Deploy your site with git

This gist assumes:

  • you have an online remote repository (github / bitbucket etc.)
  • you have a local git repo
  • and a cloud server (Rackspace cloud / Amazon EC2 etc)
    • your (PHP) scripts are served from /var/www/html/
    • your webpages are executed by Apache
  • the Apache user is named www-data (may be apache on other systems)