People like Kevin Smith, Edward Burns, and Robert Rodriguez made low-budget movies by maxing out their credit cards and casting themselves and/or their friends in the lead roles.
These films were sometimes picked up for distribution and put into theaters around the country.