This subject has actually been considered by lots of thinkers, survivalists, and writers of post-apocalyptic fiction and the subject of the book The Understanding: How to Rebuild the World from Scratch by Lewis Dartnell, scientist, writer, and UK Area Company research fellow at the University of Leicester.