thebookofshaders/appendix/00
Manoylov Andriy eb8d3c5f80 add ukrainian translation 2023-08-06 20:36:42 +03:00
..
README-ch.md add Chinese support for appendix 2022-11-04 22:32:08 +08:00
README-de.md Python 2 -> 3 2020-08-31 12:54:09 +05:30
README-fr.md Python 2 -> 3 2020-08-31 12:54:09 +05:30
README-id.md added bahasa indonesia support 2021-02-19 03:32:24 +07:00
README-it.md Python 2 -> 3 2020-08-31 12:54:09 +05:30
README-pl.md appendix 2023-03-02 11:54:41 +01:00
README-ru.md Python 2 -> 3 2020-08-31 12:54:09 +05:30
README-ua.md add ukrainian translation 2023-08-06 20:36:42 +03:00
README-vi.md Translate chapters 2020-07-30 14:01:56 +07:00
README.md Python 2 -> 3 2020-08-31 12:54:09 +05:30
index.php add ukrainian translation 2023-08-06 20:36:42 +03:00

README.md

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 PHP, Python 3 and a git client. On MacOS and Raspberry Pi computers Python is installed by default but you still need to install PHP and a git client. For that:

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

brew update
brew upgrade
brew install git php

On Raspberry Pi you need to get Raspbian, a Debian-based Linux distribution made for Raspberry Pi and then do:

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

Once you have everything installed you just need to do:

cd ~
git clone --recursive https://github.com/patriciogonzalezvivo/thebookofshaders.git
cd thebookofshaders
git submodule foreach git submodule init && git submodule update
php -S localhost:8000

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