PageRenderTime 35ms CodeModel.GetById 28ms app.highlight 5ms RepoModel.GetById 1ms app.codeStats 0ms

Markdown | 36 lines | 24 code | 12 blank | 0 comment | 0 complexity | 4d223e532927c39b11a6e6f61eb9e215 MD5 | raw file
 2# The Nature of Code Book Project
 4_**This repo is no longer active! To follow the project visit [noc-book-2](!**_
 7Hello.  If you found your way here you have found the raw source material for my Nature of Code book.  The book is for sale in PDF and print forms at []( There, you'll also find a free version of the book available as HTML.  
 9You may notice that all of the book's content is here -- illustrations, raw text (html), and well as design elements (CSS).  The book is licensed under the [Creative Commons Attribution-NonCommercial 3.0 Unported License](  You are free to share and remix the book, as long as you provide attribution and do not attempt to re-sell.
11All of the book's code examples are licensed under the [MIT License](
13By using GitHub to host all the raw material for the book, it's my hope that I will be able to more easily manage corrections and revisions.  Please use the GitHub issues for bug reports, typos, suggestions, etc.  You are also welcome to fork the repo, make corrections on your own and submit a pull request.
15This repository is in progress.  It's for a new edition of the book that I will be generating with [The Magic Book](  For the previous version of the book, you can check out the [Nature of Code archived repo](
17# Steps to Build The Nature of Code
19* Install [node.js](
20* At a terminal prompt ([more info here](
22npm install magicbook -g
24* Clone (or download) this very repo.
25* In terminal, navigate to the directory where you cloned this repo.
26* Enter these commands:
28npm install
29magicbook build
31* Navigate to "build" directory and look for generated files.
33###### Build Notes
34On Mac OSX, you need to install princexml along with the node-prince `brew cask install prince`  or download via [here.](
36More information about Magic Book at [its README](