Shipbuilding and weapons manufacture were already under way; railways and telegraph lines quickly followed.
Railways followed after weapons manufacturing was already being done.
Railways were already being done by the time weapons manufacturing and shipbuilding were started.