ngx-launcher-demo

[![Build Status](https://semaphoreci.com/api/v1/fabric8-launcher/ngx-launcher/branches/master/shields_badge.svg)](https://semaphoreci.com/fabric8-launcher/ngx-launcher) [![npm version](https://badge.fury.io/js/ngx-launcher.svg)](https://badge.fury.io/js/n

Usage no npm install needed!

<script type="module">
  import ngxLauncherDemo from 'https://cdn.skypack.dev/ngx-launcher-demo';
</script>

README

ngx-launcher

Build Status npm version semantic-release

A collection of Angular services and components to work with Forge Wizard UI to provide an easy getting started experience with OpenShift.

You can see how it is used in:

All components shared a common object model for the Input. ForgeService provide common REST endpoints like next, validate, execute to work with your Swarm backends, see:

Getting started:

This library does not run on it's own. It must be imported.

npm install ngx-launcher

Building it

Pre-requisites

  • node v8.9.1+ (required by anuglar-cli 6+)
  • npm 5.5.1

This angular library is built using angular-cli's workspace. The main application is the demo app. The library source is under /projects/ngx-launcher

Install the dependencies:

npm install

If you need to update the dependencies you can reinstall:

npm run clean
npm install

Run the tests:

npm test

NOTE: to run the library test in watch mode: npm run test:lib:dev

Build library and demo app:

npm run build

Run the demo

npm install
npm run build
npm start

Open your browser on http://localhost:4200/

Release

  • pre-requisites Login to npmjs central repo with your credential (you should be owner of the library).

  • build ngx-launcher as a npm library

npm run build
  • publish
npm publish dist

Note: semantic release are done via fabric8cd using semantic-release