fix(README): describe build options for arm and amd architectures

This commit is contained in:
Markus Pesch 2019-06-16 23:52:58 +02:00
parent 6fd6eb7f0d
commit 502e3b3b1c
Signed by: volker.raschek
GPG Key ID: 852BCC170D81A982

View File

@ -1,15 +1,23 @@
# flucky [![Build Status](https://travis-ci.com/volker-raschek/flucky.svg?branch=master)](https://travis-ci.com/volker-raschek/flucky)
# flucky [![Build Status](https://travis-ci.com/go-flucky/flucky.svg?branch=master)](https://travis-ci.com/go-flucky/flucky)
Flucky is a lightweight program written in go for reading data from sensors with a raspberry pi.
## Compiling
Flucky can be compiled directly with go.
```bash
$ go get -u github.com/volker-raschek/flucky
$ go get -u github.com/go-flucky/flucky
```
Alternatively you can checkout this repository and compile it with make for your architecture. For examample for a raspberry pi with arm architecture.
```bash
$ make build
$ make build GOARCH=arm # for raspberry-pi
```
If you have installed docker oder podman but not go, you can compile the source code via one of the container runtimes.
```bash
$ make container-build
$ make container-build GOARCH=arm # for raspberry-pi
```