docs: Add a package installation command

This commit is contained in:
1ambda 2016-11-22 13:49:04 +09:00
parent d8c9d36e77
commit e5b414b91a
2 changed files with 6 additions and 0 deletions

View file

@ -15,9 +15,14 @@ $ mvn package
### Local Development
It is recommended to install node 6.0.0+ since Zeppelin uses 6.9.1+ (see [creationix/nvm](https://github.com/creationix/nvm))
All build commands are described in [package.json](./package.json)
```sh
# install required depepdencies and bower packages (only once)
$ npm install
# build zeppelin-web for production
$ npm run build

View file

@ -2,6 +2,7 @@
"name": "zeppelin-web",
"license": "Apache-2.0",
"version": "0.0.0",
"engines" : { "node" : ">=6.0.0" },
"scripts": {
"postinstall": "node_modules/.bin/bower install --silent",
"build": "./node_modules/.bin/grunt build",