fix(README): make steps

This commit is contained in:
Markus Pesch 2019-09-04 14:01:21 +02:00
parent 4ed014c0df
commit 4e531b8734
Signed by: volker.raschek
GPG Key ID: 852BCC170D81A982

View File

@ -39,8 +39,9 @@ $ yum update && yum install --assumeyes flucky
```bash ```bash
$ VERSION=v0.1.0 \ $ VERSION=v0.1.0 \
curl --location https://github.com/volker-raschek/flucky/releases/${VERSION}/flucky.rpm -O flucky-${VERSION}.rpm ARCH=amd64 \
$ yum install --assumeyes ./flucky-${VERSION}.rpm curl --location https://github.com/volker-raschek/flucky/releases/download/${VERSION}/linux-${ARCH}-flucky.rpm -O flucky-${VERSION}-${ARCH}.rpm
$ yum install --assumeyes flucky-${VERSION}-${ARCH}.rpm
``` ```
### Compiling the source code ### Compiling the source code
@ -56,11 +57,11 @@ briefly described.
To compile flucky via container image it's necessary, that a container runtime To compile flucky via container image it's necessary, that a container runtime
is installed. In the Makefile is predefined docker, but it's can be also used is installed. In the Makefile is predefined docker, but it's can be also used
podman. Execute `make container-go-build` to start the compiling process. podman. Execute `make container-run/flucky` to start the compiling process.
```bash ```bash
$ make container-go-build $ make container-run/flucky
make container-run COMMAND=go-build make container-run COMMAND=flucky
make[1]: Directory „/home/markus/workspace/flucky“ is entered make[1]: Directory „/home/markus/workspace/flucky“ is entered
/usr/bin/docker run \ /usr/bin/docker run \
--rm \ --rm \
@ -84,7 +85,7 @@ go: finding github.com/satori/go.uuid v1.2.0
#### Compiling the source code without container image #### Compiling the source code without container image
Make sure you have installed go >= v1.12. Execute `make go-build` to compile Make sure you have installed go >= v1.12. Execute `make flucky` to compile
flucky without a container-image. There should be a similar output as when flucky without a container-image. There should be a similar output as when
compiling flucky via the container image. compiling flucky via the container image.