How did advances in technology marketing and transportation-particularly the railroads-spur industrial expansion after the Civil War?

The railroads allowed for quicker transprotation of materials form their source to the factory and then on to the consumer. Durring this time people were also starting to figure out how to mass produce goods.