From cec7c0872efc0b54f6961b4b89b5783da17325e6 Mon Sep 17 00:00:00 2001 From: Montse Ortega Date: Mon, 14 Apr 2025 13:09:56 +0200 Subject: [PATCH 1/2] Update DEVELOPMENT.md file with assisted-installer-app project --- docs/DEVELOPMENT.md | 35 +++++++++++++++++++++++++++-------- 1 file changed, 27 insertions(+), 8 deletions(-) diff --git a/docs/DEVELOPMENT.md b/docs/DEVELOPMENT.md index 555f287a9e..625635d195 100644 --- a/docs/DEVELOPMENT.md +++ b/docs/DEVELOPMENT.md @@ -66,23 +66,42 @@ apply for `libs/locales` as well. ```bash yarn start:watch_mode ``` -2. Fork and clone the uhc-portal project +2. Fork and clone the assisted-installer-app project ```bash - git clone https://gitlab.cee.redhat.com//uhc-portal.git + git clone https://github.com//assisted-installer-app.git ``` -3. Inside the uhc-portal run the following commands +3. Inside the assisted-installer-app run the following commands + ```bash - yarn install + npm install yalc link @openshift-assisted/ui-lib yalc link @openshift-assisted/locales yalc link @openshift-assisted/types ``` - **Note**: `yalc link` needs to be executed following the `yarn install` command. + + **Note**: `yalc link` needs to be executed following the `npm install` command. **Be aware that this command updates the project's `package.json` and `yarn.lock` files**. **DO NOT COMMIT THESE CHANGES INTO VERSION CONTROL.** -4. Now you can follow the uhc-portal's - [README file](https://gitlab.cee.redhat.com/service/uhc-portal/-/blob/master/README.md) in order - to set up their dev-environment. + +4. Start the assisted-installer-app project: + + ```bash + npm run start:federated + + ``` + +5. Fork and clone the uhc-portal project + + ```bash + git clone git@github.com:RedHatInsights/uhc-portal.git + ``` + +6. Now you can follow the uhc-portal's + [README file](https://github.com/RedHatInsights/uhc-portal/blob/master/README.md#running-locally) + in order to set up their dev-environment. + ```bash + yarn start --env ai_standalone + ``` ## Integrating with the OpenShift Console for ACM and MCE (aka CIM) From e0d3da0aa578b7c61e49a1029bf3b2d3c1724b87 Mon Sep 17 00:00:00 2001 From: Montse Ortega Gallart Date: Tue, 15 Apr 2025 10:40:36 +0200 Subject: [PATCH 2/2] Apply suggestions from code review Co-authored-by: Rastislav Wagner --- docs/DEVELOPMENT.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/DEVELOPMENT.md b/docs/DEVELOPMENT.md index 625635d195..c8a9dc7d98 100644 --- a/docs/DEVELOPMENT.md +++ b/docs/DEVELOPMENT.md @@ -68,12 +68,12 @@ apply for `libs/locales` as well. ``` 2. Fork and clone the assisted-installer-app project ```bash - git clone https://github.com//assisted-installer-app.git + git clone git@github.com:openshift-assisted/assisted-installer-app.git ``` 3. Inside the assisted-installer-app run the following commands ```bash - npm install + npm ci yalc link @openshift-assisted/ui-lib yalc link @openshift-assisted/locales yalc link @openshift-assisted/types