A lot of hard work, non vehicular labor, local sourcing, and luck, providence, perseverance, and serendipity.
How do you suppose humans did it prior to the invention of the coal mine and oil drill?
Once again - not trying to be facetious or patronizing; just legitimately answering the request.