How do you setup git-daemon on Ubuntu?

Git is by far my favorite version control system I’ve used. I use it all the time, and one of it’s benefits is how easy it is to share code. I usually just send someone the link to gitweb and they can look at my code there. Other times people give me their public key, and they can clone my stuff over ssh. But just recently I wanted to have a way to easily allow anonymous readonly access.