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

/README.md

http://github.com/shiffman/The-Nature-of-Code
Markdown | 36 lines | 24 code | 12 blank | 0 comment | 0 complexity | 4d223e532927c39b11a6e6f61eb9e215 MD5 | raw file
 1
 2# The Nature of Code Book Project
 3
 4_**This repo is no longer active! To follow the project visit [noc-book-2](https://github.com/nature-of-code/noc-book-2)!**_
 5
 6
 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 [natureofcode.com](http://www.natureofcode.com). There, you'll also find a free version of the book available as HTML.  
 8
 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](http://creativecommons.org/licenses/by-nc/3.0/).  You are free to share and remix the book, as long as you provide attribution and do not attempt to re-sell.
10
11All of the book's code examples are licensed under the [MIT License](http://opensource.org/licenses/MIT).
12
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.
14
15This repository is in progress.  It's for a new edition of the book that I will be generating with [The Magic Book](https://github.com/magicbookproject/magicbook).  For the previous version of the book, you can check out the [Nature of Code archived repo](https://github.com/shiffman/The-Nature-of-Code-archive).
16
17# Steps to Build The Nature of Code
18
19* Install [node.js](https://nodejs.org/en/).
20* At a terminal prompt ([more info here](https://github.com/magicbookproject/magicbook/)):
21```
22npm install magicbook -g
23```
24* Clone (or download) this very repo.
25* In terminal, navigate to the directory where you cloned this repo.
26* Enter these commands:
27```
28npm install
29magicbook build
30```
31* Navigate to "build" directory and look for generated files.
32
33###### Build Notes
34On Mac OSX, you need to install princexml along with the node-prince `brew cask install prince`  or download via [here.](http://www.princexml.com/download/)
35
36More information about Magic Book at [its README](https://github.com/magicbookproject/magicbook/blob/master/README.md).