Giter VIP home page Giter VIP logo

insights-advisor-frontend's Introduction

Insights Advisor Frontend (IAF)

Build Status

Getting Started

There is a comprehensive quick start guide in the Storybook Documentation to setting up an Insights environment complete with:

Note: You will need to set up the Insights environment if you want to develop with the starter app due to the consumption of the chroming service as well as setting up your global/app navigation through the API.

Insights Proxy Environment

Insights Proxy is required to run the Advisor frontend. Note An Advisor-specific proxy configuration is required for the frontend to communicate to the Advisor API POC. To run the proxy with advisor-specific configuration run:

cd /path/to/insights-advisor-frontend

OSX

docker run -e LOCAL_CHROME -v $PWD/config:/config -e PLATFORM -e PORT -e LOCAL_API -e SPANDX_HOST -e SPANDX_PORT --rm -ti --name insightsproxy -p 1337:1337 docker.io/redhatinsights/insights-proxy

Linux/Other

docker run -v $PWD/config:/config --rm --net='host' -p1337:1337 -e PLATFORM=linux -ti docker.io/redhatinsights/insights-proxy

Build app

  1. npm install

  2. npm start

Testing

  • Travis is used to test the build for this code.
    • npm run test will run linters and tests

Notes for Devs..

You are gonna have to stub the following header x-rh-identity:{ "identity": { "account_number": "1234567"}} else you'll likely get a bunch of {"detail":"You do not have permission to perform this action."}

insights-advisor-frontend's People

Contributors

ryelo avatar bmclaughlin avatar allenbw avatar iphands avatar karelhala avatar jharting avatar dlobatog avatar

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.