blog code?

Assuming that none of your current setup conflicts with the setup that the blog software comes with, you can use any of the multiple rails blog applications that are available. The one I hear mentioned the most is Mephisto.

You could also try Scratch or Typo.