How does one go about publishing their own RPG? My friend and I were thinking of designing our own system built around a setting I had made. He was going to handle crunch and numbers of the system while I was going to work on the majority of the writing.

Would we need to run our own company? Would we need to hire a publisher? Could we self-publish the whole thing?