-
Notifications
You must be signed in to change notification settings - Fork 12
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added score-k8s to documentation (#99)
- Loading branch information
Showing
12 changed files
with
383 additions
and
24 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
content/en/docs/score implementation/included/install-score-compose-bash.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
4 changes: 2 additions & 2 deletions
4
content/en/docs/score implementation/included/install-score-compose-curl-mac.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
58 changes: 58 additions & 0 deletions
58
content/en/docs/score implementation/included/install-score-k8s-bash.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,58 @@ | ||
--- | ||
title: "score-k8s install on macOS/Linux" | ||
description: "Installation for score-k8s on macOS/Linux." | ||
headless: true | ||
toc_hide: true | ||
--- | ||
|
||
**1.** Download the latest compressed Tar file for your operating system from the [GitHub release page](https://github.com/score-spec/score-k8s/releases). By default, the tarball will be saved to your `~/Downloads` directory. If you choose to use a different location, you'll need to change that in the following steps. | ||
|
||
```bash | ||
score-k8s_x.y.z_osx-amd64.tar.gz | ||
``` | ||
|
||
**2.** Install into your `local` directory | ||
|
||
In your terminal, enter the following to create the `score-spec` directory. | ||
|
||
```bash | ||
cd /usr/local/bin/ | ||
# create the directory if needed | ||
mkdir -pv score-spec | ||
``` | ||
|
||
Extract the compressed Tar file (You may need to run the previous command with elevated permissions). | ||
|
||
```bash | ||
tar -xvzf ~/Downloads/score-k8s_<x.y.z>_darwin_arm64.tar.gz -C /usr/local/bin/ | ||
``` | ||
|
||
You should see the following output: | ||
|
||
```bash | ||
x LICENSE | ||
x README.md | ||
x score-k8s | ||
``` | ||
|
||
**3.** Export PATH | ||
|
||
Future terminal sessions may require you add this path to your `~/.zshrc` or `~/.bashrc` file, if it isn’t there already. | ||
|
||
```bash | ||
export PATH=$PATH:/usr/local/bin/ | ||
``` | ||
|
||
**4.** Verify installation | ||
|
||
```bash | ||
score-k8s --version | ||
``` | ||
|
||
The command returns the following output: | ||
|
||
```bash | ||
score-k8s x.y.z | ||
``` | ||
|
||
You’ve successfully installed the score-k8s CLI! |
41 changes: 41 additions & 0 deletions
41
content/en/docs/score implementation/included/install-score-k8s-curl-mac.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,41 @@ | ||
--- | ||
title: "score-k8s install on macOS" | ||
description: "Installation for score-k8s on macOS." | ||
headless: true | ||
toc_hide: true | ||
--- | ||
|
||
**1.** Download the latest release from the [GitHub release page](https://github.com/score-spec/score-k8s/releases): | ||
|
||
```bash | ||
curl -L -o score-k8s.tgz https://github.com/score-spec/score-k8s/releases/download/<x.y.z>/score-k8s_<x.y.z>_<os_system>.tar.gz | ||
``` | ||
|
||
**2.** Unpack the latest release | ||
|
||
```bash | ||
tar xvzf score-k8s.tgz | ||
``` | ||
|
||
The following is the output of the previous command: | ||
|
||
```bash | ||
x LICENSE | ||
x README.md | ||
x score-k8s | ||
``` | ||
|
||
**3.** Clean up the tar file | ||
|
||
```bash | ||
rm score-k8s.tgz README.md LICENSE | ||
``` | ||
|
||
**4.** Move the binary to PATH | ||
|
||
```bash | ||
sudo mv ./score-k8s /usr/local/bin/score-k8s | ||
sudo chown root: /usr/local/bin/score-k8s | ||
``` | ||
|
||
You’ve successfully installed the score-k8s CLI! |
66 changes: 66 additions & 0 deletions
66
content/en/docs/score implementation/included/install-wget-k8s.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,66 @@ | ||
--- | ||
title: "score-k8s install with wget" | ||
description: "Installation for score-k8s with wget." | ||
headless: true | ||
toc_hide: true | ||
--- | ||
|
||
**1.** Download the latest release from the [GitHub release page](https://github.com/score-spec/score-k8s/releases): | ||
|
||
```bash | ||
wget https://github.com/score-spec/score-k8s/releases/download/<x.y.z>/score-k8s_<x.y.z>_<os_system>.tar.gz | ||
``` | ||
|
||
You should see something similar to the following output: | ||
|
||
```bash | ||
Saving to: score-k8s_<x.y.z>_<os_system>.tar.gz | ||
|
||
score-k8s_<x.y.z> 100%[===================>] 2.85M 5.28MB/s in 0.5s | ||
``` | ||
|
||
**2.** Install into your `local` directory | ||
|
||
In your terminal, enter the following to create the `score-spec` directory. | ||
|
||
```bash | ||
cd /usr/local/bin/ | ||
# create the directory if needed | ||
mkdir -pv score-spec | ||
``` | ||
|
||
Extract the compressed Tar file (You may need to run this command with elevated permissions): | ||
|
||
```bash | ||
tar -xvzf ~/<your-path>/score-k8s_<x.y.z>_<os_system>.tar.gz | ||
``` | ||
|
||
You should see the following output: | ||
|
||
```bash | ||
x LICENSE | ||
x README.md | ||
x score-k8s | ||
``` | ||
|
||
**3:** Export PATH | ||
|
||
Future terminal sessions may require you add this path to your `~/.zshrc` or `~/.bashrc` file, if it isn’t there already. | ||
|
||
```bash | ||
export PATH=$PATH:/usr/local/bin/ | ||
``` | ||
|
||
**4:** Verify installation | ||
|
||
```bash | ||
score-k8s --version | ||
``` | ||
|
||
The command returns the following output: | ||
|
||
```bash | ||
score-k8s <x.y.z> | ||
``` | ||
|
||
You've successfully installed the score-k8s CLI! |
File renamed without changes.
12 changes: 12 additions & 0 deletions
12
content/en/docs/score implementation/included/install-windows-k8s.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
--- | ||
title: "score-k8s install on Windows" | ||
description: "Installation for score-k8s on Windows." | ||
headless: true | ||
toc_hide: true | ||
--- | ||
|
||
**1.** Download the latest release from the [GitHub release page](https://github.com/score-spec/score-k8s/releases). | ||
|
||
**2.** Decompress the `zip` file, and move the binary to your `PATH`. | ||
|
||
You've successfully installed the score-k8s CLI! |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.