Image Builder service for console.redhat.com
Find a file
2020-09-11 10:04:13 +02:00
config copy from RedHatInsights/insights-frontend-starter-app template 2020-04-15 12:46:02 +02:00
profiles profiles: Add profile with unsafe identity 2020-04-17 15:37:03 +02:00
src components: Move image creation to PF4 wizard 2020-09-09 15:31:10 +02:00
.babelrc copy from RedHatInsights/insights-frontend-starter-app template 2020-04-15 12:46:02 +02:00
.eslintrc.yml copy from RedHatInsights/insights-frontend-starter-app template 2020-04-15 12:46:02 +02:00
.gitignore copy from RedHatInsights/insights-frontend-starter-app template 2020-04-15 12:46:02 +02:00
.stylelintrc.json copy from RedHatInsights/insights-frontend-starter-app template 2020-04-15 12:46:02 +02:00
.travis.yml copy from RedHatInsights/insights-frontend-starter-app template 2020-04-15 12:46:02 +02:00
LICENSE osbuild-installer-frontend 2020-03-27 10:14:04 +01:00
package-lock.json copy from RedHatInsights/insights-frontend-starter-app template 2020-04-15 12:46:02 +02:00
package.json copy from RedHatInsights/insights-frontend-starter-app template 2020-04-15 12:46:02 +02:00
README.md README: Add development instructions 2020-09-11 10:04:13 +02:00

osbuild-installer-frontend

Development

  1. Clone the following repositories:

Optional: https://github.com/osbuild/osbuild-composer

  1. Setting up the proxy

    Choose a runner (podman or docker), and point the SPANDX_CONFIG variable to profile/local-frontend-and-api-with-identity.js included in osbuild-installer-frontend.

        sudo insights-proxy/scripts/patch-etc-hosts.sh
        export RUNNER="podman"
        export SPANDX_CONFIG=$PATH_TO/osbuild-installer-frontend/profiles/local-frontend-and-api-with-identity.js
        sudo -E insights-proxy/scripts/run.sh
    
  2. Starting up osbuild-composer-cloud

    Make sure osbuild-composer is installed and osbuild-composer-cloud is enabled:

    sudo systemctl enable --now osbuild-composer-cloud.socket

    Start a remote worker like so:

    sudo systemctl enable --now osbuild-remote-worker@localhost:8704

  3. Starting up osbuild-installer In the osbuild-installer checkout directory

        make build
        OSBUILD_SERVICE="http://127.0.0.1:8703/" ./osbuild-installer
    
  4. Starting up osbuild-installer-frontend

    In the osbuild-installer-frontend checkout direcotry

        npm install
        npm start
    

The UI should be running on https://prod.foo.redhat.com:1337/apps/osbuild-installer/landing, the api (osbuild-installer) on https://prod.foo.redhat.com:1337/api/osbuild-installer/v1/openapi.json