What is GIT?

Baby don't hurt me

Used GIT once - GIT Master

Don't hurt me

Push rejected, rebase or merge - git push --force

No more...

Pushes to git - deploy straight to production

What is WordPress?

Pushes to git - deploy straight to production

What is a VPS?

Virtual Private Server

Pushes to git - deploy straight to production

VPS providers

Workshop

Just do it!

Steps 1/2

GIT != GITHUB

  • Create a github.com account
  • Fork the tr.im/demo
  • Clone locally
  • Create a page template with your name
  • Push to github and send pull request

Steps 2/2

Deploy to VPS *

On VPS

  • Setup machine, (sub)domain
  • Init bare git repo
  • Configure post-receive hook to web folder


Locally

  • Configure remote push repo (git remote add)
  • Push to VPS

Links

Thank you

Vlad on Twitter: tr.im/vladn BB-8