Skip to content

openshift/origin-web-catalog

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
app
 
 
 
 
 
 
 
 
src
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

OpenShift Catalog Console Library

A component library created for the cataloging components for The OpenShift Web Console.

Build Status

Quick start

# install the dependencies with npm and bower
$ npm install
$ bower install

# build the library
$ npm run build

Showcase Application

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/"]}'

Contributing

Getting started

  1. Install Nodejs and npm
  2. Build the library with 'npm run build'
  3. Run the test server with 'npm run start'
  4. Launch a browser at https://localhost:9001/ this will watch for asset changes.

Testing

1. Unit Tests

  • single run: npm test
  • live mode (TDD style): npm run test:watch