The Enclosure should hold 2 to 3 inches of an unfertilized earth / loam mixture, this will help you tarantula to buil a nice tunnel like home, since the loam will stabilize the earth.
If you have the ability to get dirt from the carolinas, use it.
Determine the area you tarantula usually comes from, that will give you an idea how many parts loam or earth you need in your mixture.
The size of the enclosure will be determined by the species you keep, get involved in research about the natural habitat and behavior of your tarantula.
Some tarantulas will grow more than others, but not only size matters, you will discover that some tarantula species are more active and that means these little critters need more room to roam.
Cocoon building will be more successful if you use more parts loam ore vulcanic earth, since the loam will give the dirt more stability, your tarantula will be able to build a "clean" cocoon.
Cocoons with earth or dirth particles build in will be less successful, or the tarantula may even eat it.
The food that you provide for your tarantula will play a role on how healthy your tarantula will be.
Baby tarantulas (spiderling) will eat 2 to 3 times per week, also young tarantulas.
An adult tarantula would be on a 2 week shedule - based on average.
You still need to determine the actual frequency and amout of food your tarantula requires to be healthy.
Watch out for abdomen size (behind of the tarantula) vs. carapax size (head of the tarantula).
If possible take out unwanted feeder insects, don't let them roam free in the tarantulas enclosure, this could cause stress and could pose a potential threat for your tarantula (during molt).