当前位置: 动力学知识库 > 问答 > 编程问答 >

Hygieia Specific,UI, Gulp - How To

问题描述:

Query related to opensource tool Hygieia. On the Gulp scripts https://github.com/capitalone/Hygieia/blob/v2.0.0/UI/gulpfile.js

Gulp serve serves the application. here are few queries i need help with

  1. In version 1.5.0 gulp task runner had gulp serve:dist, which served only minified content, 2.0 does not seem to do that

  2. gulp serve starts the app @ port 3000, how do i control it for each instance, as i intend to run couple of instances(diff versions) on the same vm.

    1. When UI is served @ localhost:3000/ , all the content is served from

      localhost:3000/# and localhost:3000/bower_components .. etc..

      i want to move the content to be served under localhost:3000/WebApp/

      So that all the URLs are under a specific Virt Directory.

Any pointers are greatly appreciated.

TIA,

Tx

网友答案:

1.Download & Install Node.js from Nodejs Official website 2.Update Path variable with installed nodejs location

3.Open command Prompt run below commands one by one

npm install -g bower    
npm install -g gulp

follow this tutorial http://www.smlcodes.com/devops/hygieia-dashboard-tutorial/

分享给朋友:
您可能感兴趣的文章:
随机阅读: