https://github.com/fabric8-launcher/ngx-launcher
https://github.com/fabric8-launcher/ngx-launcher
Last synced: 5 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/fabric8-launcher/ngx-launcher
- Owner: fabric8-launcher
- License: apache-2.0
- Archived: true
- Created: 2017-10-11T12:16:51.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2019-03-26T08:17:45.000Z (about 6 years ago)
- Last Synced: 2024-04-26T04:45:10.823Z (about 1 year ago)
- Language: TypeScript
- Size: 5.13 MB
- Stars: 5
- Watchers: 7
- Forks: 18
- Open Issues: 8
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# ngx-launcher
[](https://travis-ci.com/fabric8-launcher/ngx-launcher)
[](https://badge.fury.io/js/ngx-launcher)
[](https://github.com/semantic-release/semantic-release)A collection of Angular services and components to work with [Forge Wizard UI](http://forge.jboss.org/) to provide an easy getting started experience with OpenShift.
You can see how it is used in:
* [fabric8-ui](https://github.com/fabric8io/fabric8-ui) application - deployed https://openshift.io
* [launchpad-frontend](https://github.com/fabric8-launchpad/launchpad-frontend) application - deployed https://launch.openshift.ioAll 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:
* [launchpad backend](https://github.com/fabric8-launch/launchpad-backend) and its [launchpad-addon](https://github.com/fabric8-launch/launchpad-addon).
* [fabric8 backend](https://github.com/fabric8io/generator-backend) and its [fabrci8-generator add-on ](https://github.com/fabric8io/fabric8-generator).## 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.1This angular library is built using [angular-cli](https://github.com/angular/angular-cli/wiki)'s workspace.
The main application is the demo app. The library source is under [/projects/ngx-launcher](/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
```
* to run the library test in watch mode:
```
npm run test:lib:dev
```
* to run library test in debug mode:
```
npm run test:debug
```#### Build library and demo app:
```
npm run build
```#### Run the demo
```shell
npm install
npm run build
npm start
```
Open your browser on http://localhost:4200/## Release
* pre-requisites
Login to [npmjs central repo](https://www.npmjs.com/) 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`