Skip to content

Provide an in-application interactive experience which helps guide the user through the registration process to get the Red Hat Insights client installed and registered on their systems.

License

Notifications You must be signed in to change notification settings

RedHatInsights/registration-assistant

Repository files navigation

Build Status

registration-assistant

React.js registration-assistant app for Red Hat Insights provides an in-application interactive experience which helps guide the user through the registration process to get the Red Hat Insights client installed and registered on their systems. We believe by nurturing the customer through the process and providing a clear call to action around installation within the applications, we can help drive additional adoption increasing the breadth of Insights registrations for an account.

First time setup

  1. Make sure you have Node.js version >16 installed
  2. Run script to patch your /etc/hosts
  3. Make sure you are using Red Hat proxy

Running locally

  1. Install dependencies with npm install
  2. Run development server with npm run start:proxy:beta
  3. Local version of the app will be available at https://stage.foo.redhat.com:1337/preview/insights/registration

If you encounter any problems try to consult the Troubleshooting page.

Testing

Jest is used as the testing framework, although there are currently no Jest tests present. npm run verify will run linters and tests. Travis is used to test the build for this code.

Deploying

Any push to the following branches will trigger a build in registration-assistant-build repository which will deploy to corresponding environment. Travis is used to deploy the application.

Push to branch in this repo Updated branch in build repo Environment Available at
master qa-beta stage beta https://console.stage.redhat.com/preview
master-stable qa-stable stage stable https://console.stage.redhat.com
prod-beta prod-beta production beta https://console.redhat.com/preview
prod-stable prod-stable production stable https://console.redhat.com

Design System

This project uses Patternfly React.

Insights Components

This app imports components from Insights Front-end Components library. ESI tags are used to import Insights Chrome which takes care of the header, sidebar, and footer. These libraries are described in the Platform experience documentation.

About

Provide an in-application interactive experience which helps guide the user through the registration process to get the Red Hat Insights client installed and registered on their systems.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published