项目作者: TheCacophonyProject

项目描述 :
Management of Cacophony Project thermal cameras over local networks
高级语言: Go
项目地址: git://github.com/TheCacophonyProject/management-interface.git
创建时间: 2018-06-29T00:51:10Z
项目社区:https://github.com/TheCacophonyProject/management-interface

开源协议:GNU General Public License v3.0

下载


management-interface

This is a small web server which supports for management and
configuration of Cacophononator devices from the The Cacophony
Project
.

Installing packr (will be done by make)

This project uses the packr tool
to embed static resources (e.g. CSS, JS and image files) into the
resulting Go binary.

To install packr from source, run:

  1. go get -u github.com/gobuffalo/packr/packr

Make sure $GOPATH/bin is in your $PATH.

Alternatively download a stable prebuilt
release
of the packr
tool and install it into a directory in your $PATH.

Building

Building will install packr for you. Make sure $GOPATH/bin is in your $PATH.
To build the management server for ARM (to run on a Raspberry Pi):

  1. make

To build the management server to run on your development machine:

  1. make build

For either case the resulting executable is managementd.

Running on a Cacophonator

  • Build for ARM (run make)
  • Copy to the Pi: scp managementd pi@[host]
  • SSH to Pi: ssh pi@[host]
  • Stop the running management server: sudo systemctl stop cacophonator-management
  • Run the development version: sudo ./managementd

Releases

Releases are built using TravisCI. To create a release visit the
repository on Github
and then follow our general instructions
for creating a release.

For more about the mechanics of how releases work, see .travis.yml and .goreleaser.yml.