Commit Graph

66 Commits

Author SHA1 Message Date
Nicholas Thompson e5d8b0c26d Added phony entries for Makefile 2019-03-13 00:18:20 +02:00
Nicholas Thompson eb74b967c7 Changed naming of Client to ClientHandler 2019-03-13 00:18:20 +02:00
Nicholas Thompson d30e0ecedd README auto formatting 2019-03-13 00:18:20 +02:00
Nicholas Thompson 9c8d7d6260 Added Nginx proxy setup example to readme 2019-03-13 00:18:20 +02:00
Nicholas Thompson aac4eaddf4 Updated makefile with new commands 2019-03-13 00:18:20 +02:00
Nicholas Thompson 3ecb2933cb Using the explicit COPY command instead of ADD in docker build 2019-03-13 00:18:20 +02:00
Nicholas Thompson 95735ff319 Added flag parsing to input flag 2019-03-13 00:18:20 +02:00
Nicholas Thompson eb06e40eb3 Added a favicon and updated the static container 2019-03-13 00:18:20 +02:00
Nicholas Thompson f54bc3ce7d Added auto reconnect to js code and included an error bar to indicate connection issues. 2019-03-13 00:18:20 +02:00
Nicholas Thompson 47bfbbfec5 Changed go module name to reflect new repository location 2019-03-13 00:18:20 +02:00
Nicholas Thompson 2456f45836 Added golangci linting and improved what was required 2019-03-13 00:18:20 +02:00
Nicholas Thompson 206159cdea Removed go-bindata-assetfs and replaced with statik 2019-03-13 00:18:20 +02:00
Nicholas Thompson 790b05f90f Should not commit commented out code 2019-03-13 00:18:20 +02:00
Nicholas Thompson a2e737da1c Removed unused code 2019-03-13 00:18:20 +02:00
Nicholas Thompson 892ea5aa1f Updated cli to use led map 2019-03-13 00:18:20 +02:00
Nicholas Thompson 6bd668eb65 Added go bindata fs to serve web files and added VUE and bootstrap to local files 2019-03-13 00:18:20 +02:00
Nicholas Thompson 8267e71f18 Basic UI working state. Still needs clean and Assetfs to keep all dependencies in the application 2019-03-13 00:18:20 +02:00
Nicholas Thompson f189ff0442 Update led handling to a map 2019-03-13 00:18:20 +02:00
Nicholas Thompson eb4398d5b4 Added vscode settings for the project 2019-03-13 00:18:20 +02:00
Hendrik van Wyk d6c6ee8627 Merge pull request #5 from hpdvanwyk/dockerfile
Dockerfile
2019-01-19 18:07:29 +02:00
NC Thompson fa03f977ea Update the README with information on how to run the image and the locations of the docker image 2019-01-19 18:04:35 +02:00
NC Thompson 996b5486c2 Added docker build to Makefile to allow build call via make 2019-01-19 16:13:37 +02:00
NC Thompson d77bd9c31b Add dockerfile 2019-01-19 16:12:58 +02:00
Hendrik van Wyk 81f423f487 Merge pull request #4 from hpdvanwyk/go_modules
Go modules
2019-01-19 15:20:06 +02:00
Hendrik van Wyk b8f915ee92 Update the readme to include the MK2 RS232.
The MK2 RS232 version works with a USB to serial converter or directly
with a RS232 port. Update the readme with this information.
2019-01-19 15:05:54 +02:00
Hendrik van Wyk ddbaf605ea Us go build instead of go install.
Go install places the binaries wherever the GOPATH is set which could be
some non related directory. Rather use go build and place the binaries in
this directory.
2019-01-19 14:47:46 +02:00
NC Thompson ebcf686c4a Added go version requirement 2019-01-15 22:05:29 +02:00
NC Thompson fc9556b098 Updated readme 2019-01-15 22:03:50 +02:00
NC Thompson e5da000fcb Removed unused code 2019-01-15 21:55:42 +02:00
NC Thompson 40b05fe7e7 Add go modules file go.mod and go.sum 2019-01-15 21:52:38 +02:00
NC Thompson 0abf03751d Removed vendor directory 2019-01-15 21:51:34 +02:00
Hendrik van Wyk 0fa0b513dc Merge pull request #3 from hpdvanwyk/nictesting
Nictesting
2018-08-13 20:14:19 +02:00
Hendrik van Wyk ad2d9856bf Fixed battery power and current being incorrectly reported to Prometheus. 2017-09-21 19:37:10 +02:00
Hendrik van Wyk a52af88bff Use mk2if instead of datasource as data source.
This removes support for the python based mk2daemon.
2017-09-16 15:37:58 +02:00
Hendrik van Wyk dd8ee443e2 Add timestamp to mk2info 2017-09-16 15:36:24 +02:00
Hendrik van Wyk 33ad6b8d1d Vendor go-serial. 2017-09-16 15:25:31 +02:00
Hendrik van Wyk 44891b1795 Better cleanup code in invertercli. 2017-09-16 14:03:04 +02:00
Hendrik van Wyk 5bd6257bad gofmt 2017-09-16 14:02:43 +02:00
Hendrik van Wyk f89b619b23 That did nothing. 2017-09-16 13:34:05 +02:00
Hendrik van Wyk 0bd6b448b8 Make mk2ser wait for goroutine to finish on Close. 2017-09-16 13:32:23 +02:00
Hendrik van Wyk 337c897afc Add more decimal points to the frequency output. 2017-09-16 13:13:32 +02:00
Hendrik van Wyk 58f446de81 Add channel based interface. 2017-09-16 13:13:23 +02:00
Hendrik van Wyk 7eb7037476 Build cli. 2017-09-16 13:06:11 +02:00
Hendrik van Wyk a7f381af8e Fix data race. 2017-09-16 13:06:01 +02:00
Hendrik van Wyk 1c4b44d5e3 Add command line parameter for address to listen on. 2017-09-16 12:05:51 +02:00
Hendrik van Wyk 2e623658ca Use time provided by data poller instead of getting time again. 2017-09-16 12:05:15 +02:00
Hendrik van Wyk 74a3722b09 Fix my tests. 2017-09-16 11:53:45 +02:00
Hendrik van Wyk ad170b556e Merge branch 'prometheus_experiment' into nictesting 2017-09-16 11:40:49 +02:00
Hendrik van Wyk f0420ebdc1 Unexport templateInput.
I did not know you could do that 2 years ago.
2017-09-14 21:34:43 +02:00
Hendrik van Wyk 38094da9de Add date to html output. 2017-09-14 21:33:23 +02:00