cheap compost bins

What is compost good location?
I bought a cheap fertilizer from the warehouse of Sam. I thought a good place is to feel comfortable in the sun, but have an area in my backyard, where they are accustomed to unpleasant, but not much Sun Is compost needs a certain amount of sun a day?
Everywhere, that is not far from where you are going to use (for example) in the vicinity of the garden beds. Sun or shade – never mind.