Add Docker info to README.md

pull/11/head
Konrad Wojas 2019-09-27 16:31:38 +08:00
parent 4ea3eee010
commit 6a1f300cd5
1 changed files with 23 additions and 0 deletions

View File

@ -32,6 +32,26 @@ Goals:
Works on Linux (including Raspbian on Pi Zero W), OSX and OpenBSD.
Build in Docker
---------------
To build it in Docker:
```
git clone https://github.com/ahupowerdns/galmon.git --recursive
docker build -t galmon --build-arg MAKE_FLAGS=-j2 .
```
To run a container with a shell in there:
```
docker run -it --rm galmon
```
Build locally
-------------
To get started, make sure you have a C++17 compiler, git, protobuf-compiler.
Then run 'make ubxtool navdump' to build the receiver-only tools.
@ -53,6 +73,9 @@ library installed. If you get an error about 'wslay', do the following, and run
echo WSLAY=-lwslay > Makefile.local
```
Running
-------
Once compiled, run for example `./ubxtool --wait --port /dev/ttyACM0
--station 1 --stdout | ./ubxparse 10000 html null`