标签:解压 shel for 依赖 生成 pen 补充 localhost dev
Fork, then clone the kibana
repo and change directory into it
下载kibana5.5源码解压后
cd kibana
记得还要 git 初始化下,因为build时候依赖.git目录。
Install the version of node.js listed in the .node-version
file (this can be easily automated with tools such as nvm and avn)
nvm install "$(cat .node-version)"
注:没有的话就自己生成一个.node-version,写入6.11.1
Install npm
dependencies
npm install
注意:npm --registry https://registry.npm.taobao.org install 用国内源加速
Start elasticsearch. 启动es,然后
npm start
"scripts": { "test": "grunt test", "test:dev": "grunt test:dev", "test:quick": "grunt test:quick", "test:browser": "grunt test:browser", "test:ui": "grunt test:ui", "test:ui:server": "grunt test:ui:server", "test:ui:runner": "echo ‘use `node scripts/functional_test_runner`‘ && false", "test:server": "grunt test:server", "test:coverage": "grunt test:coverage", "test:visualRegression": "grunt test:visualRegression:buildGallery", "checkLicenses": "grunt licenses", "build": "grunt build", "release": "grunt release", "start": "sh ./bin/kibana --dev", "precommit": "grunt precommit", "karma": "karma start", "elasticsearch": "grunt esvm:dev:keepalive", "lint": "grunt eslint:source", "lintroller": "grunt eslint:fixSource", "makelogs": "echo ‘use `node scripts/makelogs`‘ && false", "mocha": "echo ‘use `node scripts/mocha`‘ && false", "sterilize": "grunt sterilize", "uiFramework:start": "grunt uiFramework:start", "uiFramework:build": "grunt uiFramework:build" },
标签:解压 shel for 依赖 生成 pen 补充 localhost dev
原文地址:http://www.cnblogs.com/bonelee/p/7606107.html