From 4f44be4826c46e44dc983365e99fe01dbf9de212 Mon Sep 17 00:00:00 2001 From: "andy.lee" Date: Mon, 25 Nov 2024 12:19:30 +0800 Subject: [PATCH 1/2] update integration mode block in README.md Signed-off-by: andy.lee --- README.md | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) diff --git a/README.md b/README.md index ee06794c..6c846062 100644 --- a/README.md +++ b/README.md @@ -2,7 +2,9 @@ Rancher Extension used in [rancher/dashboard](https://github.com/rancher/dashboard) for [Harvester](https://harvesterhci.io) Dashboard UI. +` From Rancher 2.10.0, Harvester integration is provided by this new Harvester UI Extension. +` ## Installation @@ -46,16 +48,12 @@ RANCHER_ENV=harvester VUE_APP_SERVER_VERSION=your-harvester-server-version API=h RANCHER_ENV=harvester VUE_APP_SERVER_VERSION=v1.4.0 API=https://192.168.1.123 yarn dev ``` -### Integration Mode +### Rancher Integration Mode -In this mode, you need to have Rancher and import Harvester, more detail in [Harvester Integration | Rancher](https://ranchermanager.docs.rancher.com/v2.6/integrations-in-rancher/harvester). +In this mode, you need to have Rancher and run Harvester UI Extension as Rancher extension, see more detail in [Rancher UI extension](https://extensions.rancher.io/extensions/next/extensions-getting-started#running-the-app). ```bash -# build harvester plugin -yarn build-pkg harvester && yarn serve-pkgs - -# Open another terminal window -HARVESTER_PKG_URL=http://127.0.0.1:4500/harvester-${version}/harvester-${version}.umd.min.js API=https://your-rancher-ip RANCHER_ENV=harvester yarn mem-dev +API=https://your-rancher-ip yarn dev ``` ## Contributing From 4a19223afe6a9923bab62a102bc25c91029de343 Mon Sep 17 00:00:00 2001 From: "andy.lee" Date: Mon, 25 Nov 2024 12:33:59 +0800 Subject: [PATCH 2/2] add node minial version Signed-off-by: andy.lee --- README.md | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/README.md b/README.md index 6c846062..2a117a90 100644 --- a/README.md +++ b/README.md @@ -27,6 +27,11 @@ To install the Harvester UI Extension in Rancher 2.10.0 and newer: This is what you probably want to get started. +### Prerequisite + +Nodejs version >= 20 + + ### Standalone Mode For development, serve with hot reload at https://localhost:8005 @@ -54,6 +59,9 @@ In this mode, you need to have Rancher and run Harvester UI Extension as Rancher ```bash API=https://your-rancher-ip yarn dev + +# Example +API=https://192.168.1.123 yarn dev ``` ## Contributing