mirror of
https://github.com/tiktok/sparo.git
synced 2024-11-27 01:26:07 -05:00
Our demo forgot the step where you install Sparo 😆
This commit is contained in:
parent
36f26fbef4
commit
de87d7ed4a
4 changed files with 16 additions and 0 deletions
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue