My mother used to make homemade root beer. She'd take sugar, root beer extract and yeast; mix it in a large crock, fill sterilized bottles and seal with a cap gizmo. She'd lay the bottles on their sides in a warm place, cover with a heavy tarp (in case one of the bottles decided to let loose) for two weeks. She'd then refrigerate it all to keep the fermentation from going any further.