Malware Detection for Red Hat Insights products that includes Patternfly 4 and shared cloud.redhat.com utilities.
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
- Make sure you have
Node.js
andnpm
installed - Run script to patch your
/etc/hosts
- Make sure you are using Red Hat proxy
- Clone this repository
- Run
npm install
to install dependencies
-
npm run start
- starts webpack bundler and serves the files with webpack dev server
OR
-
npm run start:beta
- with CI beta env
-
visit
https://prod.foo.redhat.com:1337/insights/malware/
ORhttps://prod.foo.redhat.com:1337/beta/insights/malware/
for beta env
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 aspull_request
events send notifications - Travis is defaulted to notify #insights-bots
- 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
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