mirror of
https://github.com/node-red/node-red.git
synced 2023-10-10 13:36:53 +02: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:
|
If you want to run the latest code from git, here's how to get started:
|
||||||
|
|
||||||
1. Install grunt, the build tool
|
1. Clone the code:
|
||||||
|
|
||||||
npm install -g grunt-cli
|
|
||||||
|
|
||||||
2. Clone the code:
|
|
||||||
|
|
||||||
git clone https://github.com/node-red/node-red.git
|
git clone https://github.com/node-red/node-red.git
|
||||||
cd node-red
|
cd node-red
|
||||||
|
|
||||||
3. Install the node-red dependencies
|
2. Install the node-red dependencies
|
||||||
|
|
||||||
npm install
|
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
|
node red.js
|
||||||
|
|
||||||
|
@ -11,7 +11,8 @@
|
|||||||
"main" : "red/red.js",
|
"main" : "red/red.js",
|
||||||
"scripts" : {
|
"scripts" : {
|
||||||
"start": "node red.js",
|
"start": "node red.js",
|
||||||
"test": "./node_modules/.bin/grunt"
|
"test": "grunt",
|
||||||
|
"build": "grunt build"
|
||||||
},
|
},
|
||||||
"bin" : {
|
"bin" : {
|
||||||
"node-red": "./red.js",
|
"node-red": "./red.js",
|
||||||
|
Loading…
Reference in New Issue
Block a user