Giter Site home page Giter Site logo

redhatinsights / content-preview Goto Github PK

View Code? Open in Web Editor NEW
0.0 5.0 11.0 3.35 MB

Content Preview provides a preview of recommendations with applied pydata in a prod-stable render environment

License: Apache License 2.0

JavaScript 94.33% HTML 0.68% SCSS 4.99%

content-preview's Introduction

Build Status

Content Preview

Content Preview lists available rules (recommendations) for Advisor (both OCP and RHEL) and helps to preview them by rendering with the same components used in production applications (console.redhat.com). The application also allows to alter the markdown files in order to test the rules with different content.

Quick start

Before following the instruction, you have to be connected Red Hat internal VPN. If you see security cert issues in the network tab (that breaks app rendering horribly), be sure to add a server exception for 10.72.32.104:8090.

  1. Run npm install to install npm dependencies required to deploy this application locally,
  2. Run npm run start; the script starts webpack bundler and serves the files with webpack dev server,
  3. The development server should automatically open http://localhost:8080 in your browser โ€” this is the page where you will find the app.

Building production assets

Instead of using npm run start (which is preferred for the local development environment), you should run npm run build in order to build all the assets specifically for production. It contains optimizations that help to load the application faster. You will find the generated assets in the dist folder.

content-preview's People

Contributors

aakankshabhende avatar allenbw avatar chenlizhong avatar dependabot[bot] avatar fewwy avatar gkarat avatar joysnow avatar lesamo avatar tompsota avatar

Watchers

 avatar  avatar  avatar  avatar  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.