Women would set up shops and restaurants to feed and cloth the miners. Women made a pretty good profit off of it because there were a lot of farmers who needed food and clothing. The men would get there pay check, then spend it in shops and on beer and wine. Then the women would make their profit. Boom-towns were abandoned sometimes.
Hope this helps ;)