https://github.com/redhatinsights/subscription-central-ui
https://github.com/redhatinsights/subscription-central-ui
Last synced: about 2 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/redhatinsights/subscription-central-ui
- Owner: RedHatInsights
- License: apache-2.0
- Created: 2021-03-18T14:09:57.000Z (about 4 years ago)
- Default Branch: main
- Last Pushed: 2025-04-11T17:38:16.000Z (about 2 months ago)
- Last Synced: 2025-04-11T18:45:37.806Z (about 2 months ago)
- Language: TypeScript
- Size: 13.3 MB
- Stars: 5
- Watchers: 15
- Forks: 6
- Open Issues: 8
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
[](https://travis-ci.org/RedHatInsights/frontend-starter-app)
# Subscription Central
An app to handle subscription management on console.redhat.com, built using the [Starter App](https://github.com/RedHatInsights/frontend-starter-app) for Red Hat Insights products that includes Patternfly 4 and shared Red Hat cloud service frontend components.
## Getting Started
1. The first time you clone the repo, run `npm install`
2. `npm run start` or `npm run start:beta`, depending on whether you want to run in stable or beta mode.
3. Set up the rhsm-web API proxy so that API calls will be allowed. See this doc here for details depending on which browser you use: https://source.redhat.com/groups/public/customer-platform-devops/digital_experience_operations_dxp_ops_wiki/using_squid_proxy_to_access_akamai_preprod_domains_over_vpn (note that if this is not done, the app will load but all API calls will fail when running locally)
4. Ensure that you are on the Red Hat VPN
5. Open one of the following environments behind the Red Hat VPN and accept the certs:
- https://ci.foo.redhat.com:1337/beta/insights/subscriptions/manifests
- https://qa.foo.redhat.com:1337/beta/insights/subscriptions/manifests
- https://stage.foo.redhat.com:1337/beta/insights/subscriptions/manifests
- https://prod.foo.redhat.com:1337/beta/insights/subscriptions/manifestsShould you need more help, there is a [comprehensive quick start guide in the Storybook Documentation.](https://github.com/RedHatInsights/insights-frontend-storybook/blob/master/src/docs/welcome/quickStart/DOC.md)
### Testing
`npm run verify` will run `npm run lint` (eslint) and `npm test` (Jest)
## Deploying
- This repo uses Travis to deploy the webpack build to another Github repo defined in `.travis.yml`
- That Github repo has the following branches:
- `stage-beta` (deployed by pushing to `master` or `main` on this repo)
- `stage-stable` (deployed by pushing to `main-stable` on this repo)
- `prod-beta` (deployed by pushing to `prod-beta` on this repo)
- `prod-stable` (deployed by pushing to `prod-stable` on this repo)
- Travis uploads results to RedHatInight's [codecov](https://codecov.io) account. To change the account, modify CODECOV_TOKEN on https://travis-ci.com/.## Navigation
Please see the [navigation doc](./NAVIGATION.md) for details on configuring this app within the console.redhat.com navigation
## App Architecture
Please see the [architecture doc](./ARCHITECTURE.md) for details on the app architecture and tools used.