Update README since Kompose is now Go gettable

Since You're now able to install Kompose via `go get`. Update the README
accordingly.
This commit is contained in:
Charlie Drage 2016-11-15 15:59:53 -05:00
parent 83c7a824dc
commit 7ec104b8f0

View File

@ -31,21 +31,26 @@ Other examples are provided in the _examples_ [directory](./examples).
## Installation
To install `kompose`, you can either `go get` or install the binary from a new release.
#### Go
```sh
go get github.com/kubernetes-incubator/kompose
```
#### GitHub release
Grab the latest [release](https://github.com/kubernetes-incubator/kompose/releases) for your OS, untar and extract the binary.
Linux example:
```
wget https://github.com/kubernetes-incubator/kompose/releases/download/v0.1.1/kompose_linux-amd64.tar.gz
```sh
wget https://github.com/kubernetes-incubator/kompose/releases/download/v0.1.2/kompose_linux-amd64.tar.gz
tar -xvf kompose_linux-amd64.tar.gz --strip 1
sudo mv kompose /usr/local/bin
```
Otherwise, you could take the latest development package from master branch. Make sure your PATH includes the $GOPATH/bin directory so your commands can be easily used:
```console
$ go get github.com/kubernetes-incubator/kompose
$ export PATH=$PATH:$GOPATH/bin
```
## Bash completion
Running this below command in order to benefit from bash completion