Skip to content

Instantly share code, notes, and snippets.

View han's full-sized avatar

Han Kessels han

View GitHub Profile
@han
han / 0what.md
Created August 24, 2009 08:51 — forked from defunkt/0what.md

Poor Man's Deploy

  • Start a Sinatra server on port 4000
  • GET / to that server triggers a git pull and mod_rails restart
  • Hit port 4000 locally after pushing

Why?