mirror of
https://github.com/node-red/node-red
synced 2024-11-21 15:43:16 +00:00
parent
8368815db5
commit
eb1a597456
17
README.md
17
README.md
@ -29,24 +29,23 @@ For further help, or general discussion, please use the
|
||||
|
||||
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:
|
||||
1. Clone the code:
|
||||
|
||||
git clone https://github.com/node-red/node-red.git
|
||||
cd node-red
|
||||
|
||||
3. Install the node-red dependencies
|
||||
2. Install the node-red dependencies
|
||||
|
||||
npm install
|
||||
|
||||
4. Build the code
|
||||
3. Build the code
|
||||
|
||||
grunt build
|
||||
npm run build
|
||||
|
||||
5. Run
|
||||
4. Run
|
||||
|
||||
npm start
|
||||
or
|
||||
|
||||
node red.js
|
||||
|
||||
|
@ -11,7 +11,8 @@
|
||||
"main" : "red/red.js",
|
||||
"scripts" : {
|
||||
"start": "node red.js",
|
||||
"test": "./node_modules/.bin/grunt"
|
||||
"test": "grunt",
|
||||
"build": "grunt build"
|
||||
},
|
||||
"bin" : {
|
||||
"node-red": "./red.js",
|
||||
|
Loading…
Reference in New Issue
Block a user