Giter Site home page Giter Site logo

fabric8-recommender's Introduction

Fabric8 Recommender

build Semantic Release

Fabric8 Recommender is a stack analysis feature.

Build

  • Pre-requisites:

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

    • npm 5.5.1

This angular library is built using angular-cli. The main application is the demo app. The library source is under /projects/fabric8-stack-analysis-ui.

  • Install the dependencies

npm i
  • Build library & demo app

npm run build
  • Run the library tests

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

Running the demo

To work with stack analysis demo, targeting PROD backend services:

$ npm install; npm run build

Then, start the app with:

$ npm start

Open your browser:

http://localhost:4200/#/analyze/<STACK_ID>?api_data={
    "access_token": "",
    "route_config": {
        "api_url": "https://recommender.api.openshift.io/"
    }
}

To get OSIO-TOKEN follow below steps :

  1. Login to OSIO

  2. Go to profile view

  3. Edit Profile

  4. Copy token

NOTE : STACK_ID is the ID of any stack analyses in OpenShift.io (can be fetched from network tab).

Release

Semantic release are done via fabric8cd using semantic-release. - merging each PR will result with an automatic build of master - and a release apatch, minor or major version. You should use correct commit message.

To test a distribution package:

npm run package

will generate fabric8-stack-analysis-ui-0.0.1.tgz in dist/fabric8-stack-analysis-ui folder.

npm install fabric8-stack-analysis-ui-0.0.1.tgz

to test your distribution within your app. == Contributing

The development guide is part of the contributors' instructions. Please check it out in order to contribute to this project.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.