From bb77da22a8a5ebcabbea2822bfb9f1f3f0e972a9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=BCrg=20Lehni?= Date: Sat, 4 Jan 2014 17:43:33 +0100 Subject: [PATCH] Some more streamlining of README instructions. --- README.md | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/README.md b/README.md index 277b4d95..9c66024d 100644 --- a/README.md +++ b/README.md @@ -26,11 +26,11 @@ With Bower installed, simply type this command in your project folder: Upon execution, you will find a `paper` folder inside the project's `component` folder. For more information on Bower and to learn about its features for dependence tracking, see . -## Installing Paper.js for Node.js +## Installing Paper.js for Node.js through NPM -Similarly you can use NPM to install Paper.js for Node.js. But before doing so, you need the Cairo Graphics library installed, see . +You can also use NPM to install Paper.js for Node.js. But before doing so, you need the Cairo Graphics library installed, see . -**For OSX:** +**Installing Cairo on OSX:** The easiest way to install Cairo is install Homebrew then issue the command: @@ -44,7 +44,7 @@ Also, whenever you would like to update the modules, you will need to execute: PKG_CONFIG_PATH=/opt/X11/lib/pkgconfig/ npm update -**For Debian/Ubuntu Linux:** +**Installing Cairo on Debian/Ubuntu Linux:** sudo apt-get install libcairo2-dev @@ -52,9 +52,9 @@ You might also need these additional packages if you don't usually build from c+ sudo apt-get install build-essential libssl-dev libjpeg8-dev libgif-dev -**After cairo has been installed:** +**Ater Cairo has been installed:** -Then install the Paper.js module: +You should now be able to install the Paper.js module from NPM: npm install paper