Build System Installation
Windows (incomplete)
Install Python:
Add the python binary to your path
Install Node: http://nodejs.org/download/
Add the node binary to your path
cd path/to/html-client; npm install
MacOS
Install Xcode: https://developer.apple.com/xcode/
Enable command line tools in Xcode:
Xcode > Preferences > Downloads > Components
Then click install command line tools.
Install Node: http://nodejs.org/download/
Optional, but very recommended other software to improve builds
Install order is important!
- cairo (reinstall of assetgraph-builder required after you install this)
-- Download and install XQuartz brew will moan as it is no longer installed as part of 10.8 and Xcode
-- XQuartz : http://xquartz.macosforge.org/landing/
-- brew install cairo --use-clang
cd /usr/local/lib/pkgconfig/ && find /opt/X11/lib/pkgconfig | xargs -0 -I file ln -s file
- inkscape
brew install inkscape
- pngquant
brew install pngquant
- optipng
brew install optipng
- pngcrush
brew install pngcrush
- graphicsmagick
brew install graphicsmagick
- jpegtran
brew install jpeg-turbo && brew link -force jpeg-turbo
Then
cd path/to/html-client; npm install
Linux
sudo apt-get install libcairo2-dev libjpeg-turbo-progs optipng pngcrush pngquant graphicsmagick inkscape nodejs
cd path/to/html-client; npm install
Build System Installation
Windows (incomplete)
Install Python:
Add the python binary to your path
Install Node: http://nodejs.org/download/
Add the node binary to your path
MacOS
Install Xcode: https://developer.apple.com/xcode/
Enable command line tools in Xcode:
Xcode > Preferences > Downloads > Components
Then click install command line tools.
Install Node: http://nodejs.org/download/
Optional, but very recommended other software to improve builds
Install order is important!
-- Download and install XQuartz brew will moan as it is no longer installed as part of 10.8 and Xcode
-- XQuartz : http://xquartz.macosforge.org/landing/
-- brew install cairo --use-clang
cd /usr/local/lib/pkgconfig/ && find /opt/X11/lib/pkgconfig | xargs -0 -I file ln -s filebrew install inkscapebrew install pngquantbrew install optipngbrew install pngcrushbrew install graphicsmagickbrew install jpeg-turbo && brew link -force jpeg-turboThen
Linux