mirror of
https://github.com/node-red/node-red.git
synced 2023-10-10 13:36:53 +02:00
Add build info to README
This commit is contained in:
parent
9ca9d88546
commit
1406503e10
25
README.md
25
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
|
For further help, or general discussion, please use the
|
||||||
[mailing list](https://groups.google.com/forum/#!forum/node-red).
|
[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
|
## Contributing
|
||||||
|
|
||||||
Before raising a pull-request, please read our
|
Before raising a pull-request, please read our
|
||||||
|
@ -34,7 +34,7 @@ function checkBuild() {
|
|||||||
try {
|
try {
|
||||||
var stats = fs.statSync(editorFile);
|
var stats = fs.statSync(editorFile);
|
||||||
} catch(err) {
|
} catch(err) {
|
||||||
var e = new Error("Node-RED build not run");
|
var e = new Error("Node-RED not built");
|
||||||
e.code = "not_built";
|
e.code = "not_built";
|
||||||
throw e;
|
throw e;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user