There is a good tutorial on Gist that shows all the required tasks:

https://gist.github.com/2351996

This post is to remind me how to do it 😉