Skip to content
This repository was archived by the owner on Jan 28, 2022. It is now read-only.

Commit 542e8e0

Browse files
authored
docs: update install guide (chaos-mesh#4)
* update document Signed-off-by: cwen0 <[email protected]> * fix develop guide Signed-off-by: cwen0 <[email protected]>
1 parent dbca98b commit 542e8e0

File tree

9 files changed

+17
-16
lines changed

9 files changed

+17
-16
lines changed

.gitignore

+1
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@
99
.cache-loader
1010

1111
# Misc
12+
.idea
1213
.DS_Store
1314
.env.local
1415
.env.development.local

docs/development_guides/setup_env.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
id: set_up_the_development_environment
2+
id: set_up_the_development_environment
33
title: Set up the development environment
44
sidebar_label: Set up the development environment
55
---
@@ -41,7 +41,7 @@ Make sure you have the above prerequisites met. Now follow the steps below to pr
4141
```
4242

4343
```bash
44-
source ~/. bash_profile
44+
source ~/.bash_profile
4545
```
4646

4747
> **Note:**
@@ -64,7 +64,7 @@ With the toolchain ready, you still need a local Kubernetes cluster as the deplo
6464
hack/kind-cluster-build.sh
6565
```
6666

67-
The above script will create a Kubernetes cluster by kind. When you don't need this cluster, you can run the following command to delete it:
67+
The above script will create a Kubernetes cluster by kind. When you don't need this cluster, you can run the following command to delete it:
6868
6969
```bash
7070
kind delete cluster --name=kind

docs/get_started/installation.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ Before you start running a chaos experiment, verify if Chaos Mesh is installed c
3131
If you are using k3s or k3d, please also specify `--k3s` flag.
3232

3333
<PickVersion className="language-bash">
34-
curl -sSL https://mirrors.chaos-mesh.org/latest/install.sh --k3s | bash
34+
curl -sSL https://mirrors.chaos-mesh.org/latest/install.sh | bash -s -- --k3s
3535
</PickVersion>
3636

3737
### Verify your installation

versioned_docs/version-0.9.1/development_guides/setup_env.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
id: set_up_the_development_environment
2+
id: set_up_the_development_environment
33
title: Set up the development environment
44
sidebar_label: Set up the development environment
55
---
@@ -41,7 +41,7 @@ Make sure you have the above prerequisites met. Now follow the steps below to pr
4141
```
4242

4343
```bash
44-
source ~/. bash_profile
44+
source ~/.bash_profile
4545
```
4646

4747
> **Note:**
@@ -64,7 +64,7 @@ With the toolchain ready, you still need a local Kubernetes cluster as the deplo
6464
hack/kind-cluster-build.sh
6565
```
6666

67-
The above script will create a Kubernetes cluster by kind. When you don't need this cluster, you can run the following command to delete it:
67+
The above script will create a Kubernetes cluster by kind. When you don't need this cluster, you can run the following command to delete it:
6868
6969
```bash
7070
kind delete cluster --name=kind

versioned_docs/version-0.9.1/installation/installation.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ Before you start running a chaos experiment, verify if Chaos Mesh is installed c
3131
If you are using k3s or k3d, please also specify `--k3s` flag.
3232

3333
<PickVersion className="language-bash">
34-
curl -sSL https://mirrors.chaos-mesh.org/latest/install.sh --k3s | bash
34+
curl -sSL https://mirrors.chaos-mesh.org/latest/install.sh | bash -s -- --k3s
3535
</PickVersion>
3636

3737
### Verify your installation

versioned_docs/version-1.0.0/development_guides/setup_env.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
id: set_up_the_development_environment
2+
id: set_up_the_development_environment
33
title: Set up the development environment
44
sidebar_label: Set up the development environment
55
---
@@ -41,7 +41,7 @@ Make sure you have the above prerequisites met. Now follow the steps below to pr
4141
```
4242

4343
```bash
44-
source ~/. bash_profile
44+
source ~/.bash_profile
4545
```
4646

4747
> **Note:**
@@ -64,7 +64,7 @@ With the toolchain ready, you still need a local Kubernetes cluster as the deplo
6464
hack/kind-cluster-build.sh
6565
```
6666

67-
The above script will create a Kubernetes cluster by kind. When you don't need this cluster, you can run the following command to delete it:
67+
The above script will create a Kubernetes cluster by kind. When you don't need this cluster, you can run the following command to delete it:
6868
6969
```bash
7070
kind delete cluster --name=kind

versioned_docs/version-1.0.0/installation/installation.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ Before you start running a chaos experiment, verify if Chaos Mesh is installed c
3131
If you are using k3s or k3d, please also specify `--k3s` flag.
3232

3333
<PickVersion className="language-bash">
34-
curl -sSL https://mirrors.chaos-mesh.org/latest/install.sh --k3s | bash
34+
curl -sSL https://mirrors.chaos-mesh.org/latest/install.sh | bash -s -- --k3s
3535
</PickVersion>
3636

3737
### Verify your installation

versioned_docs/version-1.0.1/development_guides/setup_env.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
id: set_up_the_development_environment
2+
id: set_up_the_development_environment
33
title: Set up the development environment
44
sidebar_label: Set up the development environment
55
---
@@ -41,7 +41,7 @@ Make sure you have the above prerequisites met. Now follow the steps below to pr
4141
```
4242

4343
```bash
44-
source ~/. bash_profile
44+
source ~/.bash_profile
4545
```
4646

4747
> **Note:**
@@ -64,7 +64,7 @@ With the toolchain ready, you still need a local Kubernetes cluster as the deplo
6464
hack/kind-cluster-build.sh
6565
```
6666

67-
The above script will create a Kubernetes cluster by kind. When you don't need this cluster, you can run the following command to delete it:
67+
The above script will create a Kubernetes cluster by kind. When you don't need this cluster, you can run the following command to delete it:
6868
6969
```bash
7070
kind delete cluster --name=kind

versioned_docs/version-1.0.1/get_started/installation.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ Before you start running a chaos experiment, verify if Chaos Mesh is installed c
3131
If you are using k3s or k3d, please also specify `--k3s` flag.
3232

3333
<PickVersion className="language-bash">
34-
curl -sSL https://mirrors.chaos-mesh.org/latest/install.sh --k3s | bash
34+
curl -sSL https://mirrors.chaos-mesh.org/latest/install.sh | bash -s -- --k3s
3535
</PickVersion>
3636

3737
### Verify your installation

0 commit comments

Comments
 (0)