From de87d7ed4a7e4c435302a5ce7c5cacc3a27f9a43 Mon Sep 17 00:00:00 2001 From: Pete Gonzalez <4673363+octogonz@users.noreply.github.com> Date: Thu, 22 Aug 2024 16:42:49 -0700 Subject: [PATCH] =?UTF-8?q?Our=20demo=20forgot=20the=20step=20where=20you?= =?UTF-8?q?=20install=20Sparo=20=F0=9F=98=86?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- apps/website/docs/index.md | 4 ++++ apps/website/docs/pages/guide/getting_started.md | 4 ++++ .../zh-cn/docusaurus-plugin-content-docs/current/index.md | 4 ++++ .../current/pages/guide/getting_started.md | 4 ++++ 4 files changed, 16 insertions(+) diff --git a/apps/website/docs/index.md b/apps/website/docs/index.md index 44e5e12..a8a87e8 100644 --- a/apps/website/docs/index.md +++ b/apps/website/docs/index.md @@ -49,6 +49,10 @@ Try out Sparo in 5 easy steps: 2. For this demo, we'll use the Azure SDK which is a large public [RushJS](https://rushjs.io/) monorepo from GitHub. The following command will check out the [skeleton folders](./pages/reference/skeleton_folders.md) but not the source code: ```shell + # Globally install the Sparo CLI from NPM + npm install -g sparo + + # Use Sparo to clone your repository sparo clone https://github.com/Azure/azure-sdk-for-js.git cd azure-sdk-for-js diff --git a/apps/website/docs/pages/guide/getting_started.md b/apps/website/docs/pages/guide/getting_started.md index 8d8a149..a53fec8 100644 --- a/apps/website/docs/pages/guide/getting_started.md +++ b/apps/website/docs/pages/guide/getting_started.md @@ -15,6 +15,10 @@ For macOS, we recommend to use [brew install git](https://git-scm.com/download/m Clone your [RushJS](https://rushjs.io/) monorepo: ```shell +# Globally install the Sparo CLI from NPM +npm install -g sparo + +# Use Sparo to clone your repository sparo clone https://github.com/my-company/my-monorepo.git cd my-monorepo diff --git a/apps/website/i18n/zh-cn/docusaurus-plugin-content-docs/current/index.md b/apps/website/i18n/zh-cn/docusaurus-plugin-content-docs/current/index.md index e8a51f2..19802d2 100644 --- a/apps/website/i18n/zh-cn/docusaurus-plugin-content-docs/current/index.md +++ b/apps/website/i18n/zh-cn/docusaurus-plugin-content-docs/current/index.md @@ -48,6 +48,10 @@ Sparo 优化了 Git 操作在大型前端 monorepo 中的性能。 2. 在此演示中,我们将使用 Azure SDK,这是 GitHub 上一个大型的公共 [RushJS](https://rushjs.io/) monorepo。以下命令将签出[骨架文件夹](./pages/reference/skeleton_folders.md),但不会签出源代码: ```shell + # 从 NPM 全局安装 Sparo CLI + npm install -g sparo + + # 使用 Sparo 克隆你的仓库 sparo clone https://github.com/Azure/azure-sdk-for-js.git cd azure-sdk-for-js diff --git a/apps/website/i18n/zh-cn/docusaurus-plugin-content-docs/current/pages/guide/getting_started.md b/apps/website/i18n/zh-cn/docusaurus-plugin-content-docs/current/pages/guide/getting_started.md index bf15c59..99e4711 100644 --- a/apps/website/i18n/zh-cn/docusaurus-plugin-content-docs/current/pages/guide/getting_started.md +++ b/apps/website/i18n/zh-cn/docusaurus-plugin-content-docs/current/pages/guide/getting_started.md @@ -15,6 +15,10 @@ title: 入门指南 克隆您的 [RushJS](https://rushjs.io/) monorepo: ```shell +# 从 NPM 全局安装 Sparo CLI +npm install -g sparo + +# 使用 Sparo 克隆你的仓库 sparo clone https://github.com/my-company/my-monorepo.git cd my-monorepo