Go to the library and checkout "All New Square Foot Gardening". It tells you how to do it well.
Or you can do it the way we have done for 15 years. We have a container in the yard and just dump all of our vegetable refuse into it and let it sit. Eventually it turns into compost. If you want it faster, see above.
my dad had a compost heap when we were growing up.
WE have the world's easiest compost heap. It's small, and all I do is add vegetable matter once a week or so (carrot and potato peelings, rotted fruit, tops of celery, stuff like that that I save in a small garbage can, and then when there is about three inches of that stuff I add a bunch of shredded paper. Repeat as necessary, and stir up about every three weeks. Eventually, you have compost.
But absolutely no animal products EVER.