diff --git a/README.md b/README.md index 142db0a9f..96d57142a 100644 --- a/README.md +++ b/README.md @@ -25,6 +25,31 @@ More documentation can be found [here](http://nodered.org/docs). For further help, or general discussion, please use the [mailing list](https://groups.google.com/forum/#!forum/node-red). +## Developers + +If you want to run the latest code from git, here's how to get started: + +1. Install grunt, the build tool + + npm install -g grunt-cli + +2. Clone the code: + + git clone git@github.com:node-red/node-red.git + cd node-red + +3. Install the node-red dependencies + + npm install + +4. Build the code + + grunt build + +5. Run + + node red.js + ## Contributing Before raising a pull-request, please read our diff --git a/red/red.js b/red/red.js index c4208a818..98a7cc7b9 100644 --- a/red/red.js +++ b/red/red.js @@ -34,7 +34,7 @@ function checkBuild() { try { var stats = fs.statSync(editorFile); } catch(err) { - var e = new Error("Node-RED build not run"); + var e = new Error("Node-RED not built"); e.code = "not_built"; throw e; }