Update frontend readme.
This commit is contained in:
parent
d3999cbf87
commit
50d4e363ba
1 changed files with 14 additions and 0 deletions
14
README.md
14
README.md
|
|
@ -5,6 +5,20 @@
|
|||
To develop the frontend you can use a proxy to run image-builder-frontend locally
|
||||
against the chrome and backend at cloud.redhat.com.
|
||||
|
||||
### Nodejs and npm version
|
||||
|
||||
Make sure you have npm@7 and node 15+ installed. If you need multiple versions of nodejs check out [nvm](https://github.com/nvm-sh/nvm).
|
||||
|
||||
### Webpack proxy
|
||||
|
||||
1. run `npm i`
|
||||
|
||||
2. run `npm run start:proxy:beta`. This command uses a ci-beta env by default. Configure your environment by the `env` attribute in `dev.webpack.config.js`
|
||||
|
||||
3. open browser at `https://ci.foo.redhat.com:1337/beta/insights/image-builder`
|
||||
|
||||
### Insights proxy (deprecated)
|
||||
|
||||
1. Clone the insights proxy: https://github.com/RedHatInsights/insights-proxy
|
||||
|
||||
2. Setting up the proxy
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue