How to have great compost
Composting is a great way to add nutrients the soil, and to reduce food waste. Traditionally composting is done in a black box, or covered with a tarp, or something similar. It is done this way because the heat generated actually speeds up the decomposition of materials and promotes healthy microorganisms. The darkness also allows for humidity to accumulate which is vital. (150F is ideal)
Compost also needs to be turned or rotated. This keeps the microorganism working, adds air and oxygen to the mix, and most importantly, keeps an even mix. A weekly turning of materials will do the trick. Layer ingredients until you reach capacity. Alternate between brown (grass/yard clippings, leaves, shredded newspapers, sawdust, ash) and green (food scraps). [Brown is nitrogen rich, green is carbon rich.] From there, start the turning or rotating until you have glorious "black gold". This takes approximately 4-6 weeks.