Skip to content

RedHatInsights/landing-page-frontend

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

landing-page-frontend

Build Status

Getting Started

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

Getting started

  1. npm install

  2. npm run start

Checkout https://stage.foo.redhat.com:1337/ Read more.

Testing

  • npm run test tests
  • npm run lint will run the linter

Cypress

Opens the Cypress GUI for running end-to-end tests. Similar to npm test, this script requires environment variables for authentication:

E2E_USER=<your-e2e-user> E2E_PASSWORD=<your-e2e-password> npm run cypress -- open

Replace the placeholders with appropriate values.

This script requires running the application locally. If you want to use stage environment you have to provide URL and HTTP_PROXY variables

URL=https://console.stage.redhat.com HTTP_PROXY=<corporate-proxy-URL> E2E_USER=<your-e2e-user> E2E_PASSWORD=<your-e2e-password> npm run cypres -- open

If you want to use production site you can use just the URL

URL=https://console.redhat.com E2E_USER=<your-e2e-user> E2E_PASSWORD=<your-e2e-password> npm run cypres -- open

Deployment

The following four branches are used

  • Stable

    • prod-stable -> releases to console.redhat.com
    • master-stable -> releases to console.stage.redhat.com
  • Beta

    • prod-beta -> releases to console.redhat.com/beta
    • master -> releases to console.stage.redhat.com/beta

About

Landing page frontend for Cloud services

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 41