Building towns to house the workers.
Check it out:

New data released by the US Census Bureau shows the mining, quarrying, and oil and gas industry exploding in recent years and driving population growth.

Of the 10 fastest growing metropolitan and micropolitan areas in the US, more than half are in or near the Great Plains, including parts of Texas and North Dakota, which are rich in oil and gas.

Williston, North Dakota, has grown by an estimated 50 percent since 2007 — from about 19,000 to 30,000 — and is ranked the fastest growing micropolitan area in a Census Bureau analysis of population estimates released Thursday. It’s followed by Dickinson, North Dakota, and Andrews, Texas.