thebookofshaders/90
Patricio Gonzalez Vivo 30dae04fd8 first coomit
2015-03-15 11:21:47 -04:00
..
index.html first coomit 2015-03-15 11:21:47 -04:00
README.md first coomit 2015-03-15 11:21:47 -04:00

APENDIX

How can I navigate this book off-line?

Lets say you have a long trip and you want to use it to teach yourself some shaders. In that case you can make a local copy of this book on your computer and run a local server.

For that you only need Python 2.6 and a git client. On MacOS and RaspberryPi computers Python is installed by default but you still need to install a git client. For that:

In MacOSX be sure to have homebrew installed and then on your terminal do:

brew update
brew upgrade
brew install git 

On RaspberryPi you need to do:

sudo apt-get update
sudo apt-get upgrade
sudo apt-get install git-core

Once you have everything installed you just need to do:

cd ~
git clone https://github.com/patriciogonzalezvivo/thebookofshaders.git
cd GLSL-Book
python -m SimpleHTTPServer

Then open your browser to http://localhost:8000/