A component library created for the cataloging components for The OpenShift Web Console.
# install the dependencies with npm and bower
$ npm install
$ bower install
# build the library
$ npm run build
There is a showcase application used to help develop and view the existing components in the library.
# run the server
$ npm run start
Go to https://localhost:9001 in your browser. (though it should auto-launch) This will watch for asset changes.
You will need to patch the web console oauth client to allow for port 9001:
$ oc login -u system:admin
$ oc patch oauthclient/openshift-web-console -p '{"redirectURIs":["https://localhost:9001/"]}'
- Install Nodejs and npm
- Build the library with 'npm run build'
- Run the test server with 'npm run start'
- Launch a browser at https://localhost:9001/ this will watch for asset changes.
- single run:
npm test
- live mode (TDD style):
npm run test:watch