Skip to content

Installation documentation #104

@mykz

Description

@mykz

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions