The Author Online Book Forums are Moving

The Author Online Book Forums will soon redirect to Manning's liveBook and liveVideo. All book forum content will migrate to liveBook's discussion forum and all video forum content will migrate to liveVideo. Log in to liveBook or liveVideo with your Manning credentials to join the discussion!

Thank you for your engagement in the AoF over the years! We look forward to offering you a more enhanced forum experience.

burton (31) [Avatar] Offline
I am also on a mac. It would be nice at least as an appendix, to show how you recommend setting up a development environment, ie. setting up a web server. There are a number of ways to do this. I am just interested on how best to setup the environment. This seems to be key as it will recur many times throughout the book I assume

Thank you.

jarek-przygodzki (1) [Avatar] Offline
Try browser-sync. Unzip code samples and run browser-sync inside that directory

# install nodejs if missing: brew install node
npm install -g browser-sync
browser-sync start --server --files="**/*"

Then navigate to http://localhost:3000/ (note that some links from that index page are incorrect, eg. shoud be chapter11/11_02.html instead of chapter11/11_2.html)