2019-06-16 21:52:58 +00:00
|
|
|
# flucky [![Build Status](https://travis-ci.com/go-flucky/flucky.svg?branch=master)](https://travis-ci.com/go-flucky/flucky)
|
2019-04-18 15:10:03 +00:00
|
|
|
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
|
2019-06-16 21:52:58 +00:00
|
|
|
$ go get -u github.com/go-flucky/flucky
|
2019-04-18 15:10:03 +00:00
|
|
|
```
|
|
|
|
|
|
|
|
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
|
2019-06-16 21:52:58 +00:00
|
|
|
$ 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
|
2019-04-18 15:10:03 +00:00
|
|
|
```
|