Image Builder service for console.redhat.com
Find a file
2021-06-01 17:00:39 +02:00
.github/workflows workflows: Move npm-update to Ubuntu 20.04 2021-01-26 10:09:24 +01:00
.travis travis: Fork main to prod-beta 2021-03-19 11:15:52 +01:00
config Revert "config: Skip chrome2 until the configuration is in place in csc" 2021-05-11 14:11:49 +02:00
devel devel: add full-stack development environment 2021-05-21 19:23:14 +02:00
distribution distribution: add Dockerfile 2021-05-21 19:23:14 +02:00
profiles src: Adapt to insights-chrome 2.0 2021-05-06 11:26:41 +02:00
src CreateImageWizard: improve packages step 2021-05-26 17:02:31 +02:00
tools tools: Make make-bots executable 2020-10-27 18:09:24 +01:00
.babelrc copy from RedHatInsights/insights-frontend-starter-app template 2020-04-15 12:46:02 +02:00
.eslintrc.yml package.json: Pin exact versions 2021-04-12 15:58:58 +02:00
.gitignore npm: Use npm-update to keep all packages updated 2020-11-02 19:40:48 +01:00
.stylelintrc.json copy from RedHatInsights/insights-frontend-starter-app template 2020-04-15 12:46:02 +02:00
.travis.yml travis: upgrade to npm 12 2021-05-21 19:23:14 +02:00
codecov.yml codecov: Add configuration 2021-02-09 15:48:57 +01:00
LICENSE osbuild-installer-frontend 2020-03-27 10:14:04 +01:00
package.json package.json: Update @redhat-cloud-services/frontend-components 2021-06-01 17:00:39 +02:00
README.md devel: add full-stack development environment 2021-05-21 19:23:14 +02:00

image-builder-frontend

Frontend Development

To develop the frontend you can use a proxy to run image-builder-frontend locally against the chrome and backend at cloud.redhat.com.

  1. Clone the insights proxy: https://github.com/RedHatInsights/insights-proxy

  2. Setting up the proxy

    Choose a runner (podman or docker), and point the SPANDX_CONFIG variable to profile/local-frontend.js included in image-builder-frontend.

        sudo insights-proxy/scripts/patch-etc-hosts.sh
        export RUNNER="podman"
        export SPANDX_CONFIG=$PATH_TO/image-builder-frontend/profiles/local-frontend.js
        sudo -E insights-proxy/scripts/run.sh
    
  3. Starting up image-builder-frontend

    In the image-builder-frontend checkout directory

        npm install
        npm start
    

The UI should be running on https://prod.foo.redhat.com:1337/apps/image-builder/landing.

Backend Development

To develop both the frontend and the backend you can again use the proxy to run both the frontend and backend locally against the chrome at cloud.redhat.com. For instructions see devel/README.md.