Enclosure: Different enclosures can be used, but tanks and small plastic bins are the most commonly used. Size will vary depending on how many worms/beetles there are. This container should also either have a screened lid or plenty of holes drilled for airflow. There should be enough ventilation to keep humidity down and prevent condensation/mold growth.
Enclosure setup (décor, substrate, etc.): The substrate is the main food, usually composed of grains. There are many options to use for this, including but not limited to wheat bran, oatmeal, or unmedicated chick feed. There should be 2-3” (5-8cm) of this substrate. The substrate should be removed and replaced when there is too much frass (poop). There also should be ample hiding areas, such as egg flats, toilet paper rolls, etc.
Diet: The majority of their diet should be their substrate. For hydration and other nutrition, vegetables and fruits should be provided. The best for this are apples, potatoes, carrots, squash, etc. as those will last longer and take longer to mold.
Breeding: If kept around 75°F (24°C) and other conditions are good, they will actively breed without much assistance. Higher heat (up to 86°F/30°C) can help production and development speed up, while lower temperatures will slow it down, even completely stopping development. Some people will use a multi-layer drawer set up, where each drawer has a different life stage, although it isn’t necessary to separate them like this.