Skip to content

Instantly share code, notes, and snippets.

View DavidMRGaona's full-sized avatar
:shipit:
Improving. Always.

David Manuel Ramos Gaona DavidMRGaona

:shipit:
Improving. Always.
View GitHub Profile
@DavidMRGaona
DavidMRGaona / README.md
Created July 24, 2017 09:51 — forked from oodavid/README.md
Deploy your site with git

Deploy your site with git

This gist assumes:

  • you have a local git repo
  • with an online remote repository (github / bitbucket etc)
  • and a cloud server (Rackspace cloud / Amazon EC2 etc)
    • your (PHP) scripts are served from /var/www/html/
    • your webpages are executed by apache
  • apache's home directory is /var/www/