See this thread for your floor:
https://permies.com/t/49825/wood-burning-stoves/build-hearth-house-doesn-burn
For the walls, there are code specifications for clearances and materials. Newer woodstoves will have a nameplate which gives clearances, but an old one might not. This page from hearth.com gives what looks like good complete info:
http://www.hearth.com/econtent/index.php/articles/wood_stove_clearances_installing_it_safely
In short, "24 gauge sheet metal installed on spacers 1” from an existing wall" will reduce the required clearance from 36" to 12". Read the whole article for a lot more important info. Unfortunately the page's links to NFPA charts no longer work, so you will have to look those up yourself.