The Nature of Code Book Project
Hello. 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 natureofcode.com. There, you'll also find a free version of the book available as HTML.
You 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.
All of the book's code examples are licensed under the MIT License.
By 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.
This 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.
Steps to Build The Nature of Code
npm install magicbook -g
- Clone (or download) this very repo.
- In terminal, navigate to the directory where you cloned this repo.
- Enter these commands:
npm install magicbook build
- Navigate to "build" directory and look for generated files.
On Mac OSX, you need to install princexml along with the node-prince
brew cask install prince or download via here.
More information about Magic Book at its README.