Setup UI
Know the steps to set-up Hygieia UI
Know the steps to set-up Hygieia UI
Run the following commands:
ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)" brew install node npm install -g bower npm install -g gulp
Pull down everything that's configured with bower and npm. It may be as follows:
npm install bower install
Update the ngFitText bower.json file to point to 'src/ng-FitText.js'
instead of '/src/ng-FitText.js'
Install NodeJS using the MSI package available at: http://nodejs.org/download/
Run the following commands:
npm install -g bower npm install -g gulp
Navigate to your project root via command line and use the following command:
npm install
Use Git Shell to install bower in the following manner; do so from your project's root directory:
bower install select option 2 when prompted for user input
Run the dashboard from the following command:
gulp serve
The layouts are under src/components/templates
.
Currently only capone is used. Just add < widget name="[your new widget name]"><\widget>
and you're good to go.
All widgets have to be hardcoded into the layout right now.
In terminal navigate to the project root and run gulp serve. Should serve up on port 3000.
For local Testing with Mocks, run the following command:
gulp serve --local trueOr For local testing of the UI layer, you can run via maven from UI project root folder:
mvn clean package integration-testAll data is currently coming from the test-data folder so you shouldn't need an api, but this also means no settings will be saved..