Liveplant server is a REST API for liveplant.io
- Install Vagrant
- run
vagrant up
vagrant ssh
to access your brand new, fully configured development environment.
make
will compile and install liveplant-server inside your GOPATH.make run
will compile and run your code. Your server will be available at localhost:5000.make fmt
will format your code with gofmt.
For usage run liveplant-server -h
-debug=false: Whether or not to enable debug logger.
LIVEPLANTDEBUG
set to1
to 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.