Liveplant server is a REST API for liveplant.io
- Install Vagrant
- run
vagrant up vagrant sshto access your brand new, fully configured development environment.
makewill compile and install liveplant-server inside your GOPATH.make runwill compile and run your code. Your server will be available at localhost:5000.make fmtwill format your code with gofmt.
For usage run liveplant-server -h
-debug=false: Whether or not to enable debug logger.
LIVEPLANTDEBUGset to1to enable debug level logging.
This endpoint is polled by the liveplant hardware. It exposes an enumerable action string and a unix timestamp integer. The hardware knows when it last took action. An is only taken action if the new action's timestamp is newer.