The common services used for the OpenShift Management Console.
- Install Nodejs and npm
- Install grunt-cli and bower by running
npm install -g grunt-cli bower
(may need to be run with sudo) - Install dependencies by running
npm install
andbower install
- Build and run tests by running
grunt build
Please configure your editor to use the following settings to avoid common code inconsistencies and dirty diffs:
- Use soft-tabs set to two spaces.
- Trim trailing white space on save.
- Set encoding to UTF-8.
- Add new line at end of files.
Or configure your editor to
utilize .editorconfig
,
which will apply these settings automatically.
Then:
- If needed, run
grunt build
to update the files under the dist directory - Run the spec tests with
grunt test
- Rebase and squash changes to a single commit