Skip to content

Commit

Permalink
Merge pull request RobotWebTools#129 from megawac/contributing-update
Browse files Browse the repository at this point in the history
Update (simplify) installation instructions in Contributing.md
  • Loading branch information
jihoonl committed Nov 6, 2014
2 parents 6932a49 + f1ae04d commit c76efb0
Showing 1 changed file with 4 additions and 21 deletions.
25 changes: 4 additions & 21 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,35 +7,18 @@ roslibjs Build Setup

1. Install [Node.js](http://nodejs.org/) for your environment
2. Install the build task runner, [Grunt](http://gruntjs.com/)

```sh
$ [sudo] npm install -g grunt
```
3. Install the dependencies and build dependencies

3. Install the [Cairo](http://cairographics.org/) graphics library
- [System specific instructions](https://github.com/Automattic/node-canvas/wiki/_pages)
4. Install the dependencies and build dependencies

```sh
$ cd /path/to/roslibjs/
$ [sudo] npm install
```


#### Easy installation for Ubuntu
`cd` to your local copy of this project.

```sh
# Install Node.js and NPM
curl -sL https://deb.nodesource.com/setup | sudo bash -
sudo apt-get install nodejs

# Install Cairo
sudo apt-get install libcairo2-dev libjpeg8-dev libpango1.0-dev libgif-dev build-essential g++

# Install this project's Deps
sudo npm install
```
3.5. If that doesn't work, install the [Cairo](http://cairographics.org/) graphics library manually for your os and retry
- [System specific instructions](https://github.com/Automattic/node-canvas/wiki/_pages)

### Build with Grunt

Expand Down

0 comments on commit c76efb0

Please sign in to comment.