Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Installation documentation #104

Open
mykz opened this issue Sep 12, 2013 · 0 comments
Open

Installation documentation #104

mykz opened this issue Sep 12, 2013 · 0 comments
Labels

Comments

@mykz
Copy link

mykz commented Sep 12, 2013

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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant