The hurricane of 1900 in nearby Galveston , which killed more than 6,000 people and almost leveled the most thriving commercial city in Texas , paved the way for Houston , located 50 miles inland , to emerge as a regional center for shipping and the refining of oil discovered in East Texas fields .