GithubHelp home page GithubHelp logo

mhuth / malware-detection-frontend Goto Github PK

View Code? Open in Web Editor NEW

This project forked from redhatinsights/malware-detection-frontend

0.0 0.0 0.0 2.74 MB

Frontend for the Insights Yara (aka: cautious-octo-garbanzo) Application

Home Page: https://console.redhat.com/insights/malware

License: Apache License 2.0

Shell 2.37% JavaScript 94.70% HTML 0.38% SCSS 2.55%

malware-detection-frontend's Introduction

Build Status

malware-detection-frontend

Malware Detection for Red Hat Insights products that includes Patternfly 4 and shared cloud.redhat.com utilities.

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 malware-detection-frontend app due to the consumption of the chroming service as well as setting up your global/app navigation through the API

Developing

First time setup

  1. Make sure you have Node.js and npm installed
  2. Run script to patch your /etc/hosts
  3. Make sure you are using Red Hat proxy
  4. Clone this repository
  5. Run npm install to install dependencies

Running the application

  1. npm run start

    • starts webpack bundler and serves the files with webpack dev server

    OR

  2. npm run start:beta

    • with CI beta env
  3. visit https://prod.foo.redhat.com:1337/insights/malware/ OR https://prod.foo.redhat.com:1337/preview/insights/malware/ for beta env

Testing

  • npm run verify will run linters and tests
  • Travis is used to test the build for this code
    • You are always notified on failed builds
    • You are only notified on successful builds if the build before it failed
    • By default, both push events as well as pull_request events send notifications
    • Travis is defaulted to notify #insights-bots

Deploying

  • The Platform team is using Travis to deploy the application
    • The Platform team will help you set up the Travis instance if this is the route you are wanting to take

Running locally

Have insights-proxy installed under PROXY_PATH (only necessary if your not using start:proxy)

SPANDX_CONFIG="./profiles/local-frontend.js" bash $PROXY_PATH/scripts/run.sh

Have yara-backend installed and run docker-compose up

malware-detection-frontend's People

Contributors

allenbw avatar mhuth avatar adonispuente avatar dkuc avatar mkholjuraev avatar gabipodolnikova avatar ryelo avatar gkarat avatar lesamo avatar ryandeussing avatar fewwy avatar johnsonm325 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.