OpenShift Common Web Services
The common services used for the OpenShift Management Console.
Contributing
Getting started
- 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
Before opening a pull request
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