package.json: add run script for stage env
A developer can now run `npm run stage` which will run the UI against the staging environment on crc.
This commit is contained in:
parent
350acbd21b
commit
dc98e58ba5
3 changed files with 11 additions and 1 deletions
|
|
@ -21,6 +21,15 @@ Make sure you have npm@7 and node 15+ installed. If you need multiple versions o
|
|||
|
||||
3. open browser at `https://prod.foo.redhat.com:1337/beta/insights/image-builder`
|
||||
|
||||
### Webpack proxy (staging) -- *Runs with image-builder's stage deployment*
|
||||
|
||||
1. run `npm ci`
|
||||
|
||||
2. run `npm run stage`. This command uses a stage-beta env by default. Configure your
|
||||
environment by the `env` attribute in `dev.webpack.config.js`.
|
||||
|
||||
3. open browser at `https://stage.foo.redhat.com:1337/beta/insights/image-builder`
|
||||
|
||||
### Insights proxy (deprecated)
|
||||
|
||||
1. Clone the insights proxy: https://github.com/RedHatInsights/insights-proxy
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue