Skip to content

Commit

Permalink
Merge pull request #346 from droot/gitbook/fix-installation-instructi…
Browse files Browse the repository at this point in the history
…ons-issue-336

gitbook: fixed installation instructions
  • Loading branch information
k8s-ci-robot authored Aug 4, 2018
2 parents c165be4 + 4917e91 commit 42dd639
Show file tree
Hide file tree
Showing 3 changed files with 20 additions and 20 deletions.
4 changes: 2 additions & 2 deletions docs/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,5 @@
1. Follow the instructions at [https://toolchain.gitbook.com/](https://toolchain.gitbook.com/) to
install gitbook.
2. cd into the `docs/book` directory
3. Run `gitbook server`
4. Visit `localhost:4000`
3. Run `gitbook serve`
4. Visit `localhost:4000`
24 changes: 12 additions & 12 deletions docs/book/getting_started/installation_and_setup.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,11 +15,11 @@ version=1.0.0 # latest stable version
arch=amd64

# download the release
curl -L -O https://github.com/kubernetes-sigs/kubebuilder/releases/download/v$version/kubebuilder_$version_darwin_$arch.tar.gz
curl -L -O https://github.com/kubernetes-sigs/kubebuilder/releases/download/v${version}/kubebuilder_${version}_darwin_${arch}.tar.gz

# extract the archive
tar -zxvf kubebuilder_$version_darwin_$arch.tar.gz
sudo mv kubebuilder_$version_darwin_$arch /usr/local/kubebuilder
tar -zxvf kubebuilder_${version}_darwin_${arch}.tar.gz
sudo mv kubebuilder_${version}_darwin_${arch} /usr/local/kubebuilder

# update your PATH to include /usr/local/kubebuilder/bin
export PATH=$PATH:/usr/local/kubebuilder/bin
Expand All @@ -31,11 +31,11 @@ version=1.0.0 # latest stable version
arch=amd64

# download the release
curl -L -O https://github.com/kubernetes-sigs/kubebuilder/releases/download/v$version/kubebuilder_$version_linux_$arch.tar.gz
curl -L -O https://github.com/kubernetes-sigs/kubebuilder/releases/download/v${version}/kubebuilder_${version}_linux_${arch}.tar.gz

# extract the archive
tar -zxvf kubebuilder_$version_linux_$arch.tar.gz
sudo mv kubebuilder_$version_linux_$arch /usr/local/kubebuilder
tar -zxvf kubebuilder_${version}_linux_${arch}.tar.gz
sudo mv kubebuilder_${version}_linux_${arch} /usr/local/kubebuilder

# update your PATH to include /usr/local/kubebuilder/bin
export PATH=$PATH:/usr/local/kubebuilder/bin
Expand All @@ -55,11 +55,11 @@ this release is not well tested, so you might encounter some bugs.
arch=amd64

# download the release
curl -L -O https://storage.googleapis.com/kubebuilder-release/kubebuilder_master_darwin_$arch.tar.gz
curl -L -O https://storage.googleapis.com/kubebuilder-release/kubebuilder_master_darwin_${arch}.tar.gz

# extract the archive
tar -zxvf kubebuilder_master_darwin_$arch.tar.gz
sudo mv kubebuilder_master_darwin_$arch /usr/local/kubebuilder
tar -zxvf kubebuilder_master_darwin_${arch}.tar.gz
sudo mv kubebuilder_master_darwin_${arch} /usr/local/kubebuilder

# update your PATH to include /usr/local/kubebuilder/bin
export PATH=$PATH:/usr/local/kubebuilder/bin
Expand All @@ -69,11 +69,11 @@ export PATH=$PATH:/usr/local/kubebuilder/bin
arch=amd64

# download the release
curl -L -O https://storage.googleapis.com/kubebuilder-release/kubebuilder_master_linux_$arch.tar.gz
curl -L -O https://storage.googleapis.com/kubebuilder-release/kubebuilder_master_linux_${arch}.tar.gz

# extract the archive
tar -zxvf kubebuilder_master_linux_$arch.tar.gz
sudo mv kubebuilder_master_linux_$arch /usr/local/kubebuilder
tar -zxvf kubebuilder_master_linux_${arch}.tar.gz
sudo mv kubebuilder_master_linux_${arch} /usr/local/kubebuilder

# update your PATH to include /usr/local/kubebuilder/bin
export PATH=$PATH:/usr/local/kubebuilder/bin
Expand Down
12 changes: 6 additions & 6 deletions docs/book/quick_start.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,11 +21,11 @@ version=1.0.0 # latest stable version
arch=amd64

# download the release
curl -L -O https://github.com/kubernetes-sigs/kubebuilder/releases/download/v$version/kubebuilder_$version_darwin_$arch.tar.gz
curl -L -O https://github.com/kubernetes-sigs/kubebuilder/releases/download/v${version}/kubebuilder_${version}_darwin_${arch}.tar.gz

# extract the archive
tar -zxvf kubebuilder_$version_darwin_$arch.tar.gz
sudo mv kubebuilder_$version_darwin_$arch /usr/local/kubebuilder
tar -zxvf kubebuilder_${version}_darwin_${arch}.tar.gz
sudo mv kubebuilder_${version}_darwin_${arch} /usr/local/kubebuilder

# update your PATH to include /usr/local/kubebuilder/bin
export PATH=$PATH:/usr/local/kubebuilder/bin
Expand All @@ -37,11 +37,11 @@ version=1.0.0 # latest stable version
arch=amd64

# download the release
curl -L -O https://github.com/kubernetes-sigs/kubebuilder/releases/download/v$version/kubebuilder_$version_linux_$arch.tar.gz
curl -L -O https://github.com/kubernetes-sigs/kubebuilder/releases/download/v${version}/kubebuilder_${version}_linux_${arch}.tar.gz

# extract the archive
tar -zxvf kubebuilder_$version_linux_$arch.tar.gz
sudo mv kubebuilder_$version_linux_$arch /usr/local/kubebuilder
tar -zxvf kubebuilder_${version}_linux_${arch}.tar.gz
sudo mv kubebuilder_${version}_linux_${arch} /usr/local/kubebuilder

# update your PATH to include /usr/local/kubebuilder/bin
export PATH=$PATH:/usr/local/kubebuilder/bin
Expand Down

0 comments on commit 42dd639

Please sign in to comment.