locationhistory-collector

command module
v0.0.0-...-f7d6314 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 31, 2020 License: MIT Imports: 17 Imported by: 0

README

locationhistory-collector

Simple tool for collecting OwnTracks location messages from an MQTT broker and store them into a database.

Update static files

Run go-bindata -fs -pkg static . in the static directory

Compile for Raspberry Pi 3

CGO_ENABLED=1 GOOS=linux GOARCH=arm GOARM=7 go build github.com/dfleischhacker/locationhistory-collector

Compile for Linux x64 on Mac

  • Install musl cross compiler tools: brew install FiloSottile/musl-cross/musl-cross
  • CC=x86_64-linux-musl-gcc CXX=x86_64-linux-musl-g++ GOARCH=amd64 GOOS=linux CGO_ENABLED=1 go build -ldflags "-linkmode external -extldflags -static"

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
static
Package static generated by go-bindata.// sources: bindata.go index.html
Package static generated by go-bindata.// sources: bindata.go index.html

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL