Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
The install script given no longer exists. The canvas repo now says to install with Hombrew. `pkg-config` and `libpng` also do not need to be specified; they are dependencies of Cairo.
  • Loading branch information
nloveladyallen committed Mar 27, 2016
1 parent 7802b18 commit 8a0a992
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -199,15 +199,15 @@ Tweak the network for your needs by editing the ```config.json``` file located i

## Usage

Clone this repository. The script is using [canvas](https://www.npmjs.com/package/canvas), so you'll need to install the **Cairo** rendering engine. On OSX, this can be done with the following one-liner (copied from canvas README):
Clone this repository. The script is using [canvas](https://www.npmjs.com/package/canvas), so you'll need to install the **Cairo** rendering engine. On OS X, assuming you have [Homebrew](https://brew.sh) installed, this can be done with the following (copied from canvas README):

```bash
$ wget https://raw.githubusercontent.com/LearnBoost/node-canvas/master/install -O - | sh
$ brew install cairo jpeg giflib
```

Then install npm dependencies and test it:

```bash
$ npm install
$ node main.js
```
```

0 comments on commit 8a0a992

Please sign in to comment.