24 lines
727 B
Markdown
24 lines
727 B
Markdown
# BalenaDevice
|
|
|
|
This package provides an API client for the on-device supervisor provided by the
|
|
Balena IoT platform. With it you can do things like restart containers, change
|
|
the device hostname and other great stuff.
|
|
|
|
## Installation
|
|
|
|
This package is [available in Hex](https://hex.pm/packages/balena_device), the
|
|
package can be installed by adding `balena_device` to your list of dependencies
|
|
in `mix.exs`:
|
|
|
|
```elixir
|
|
def deps do
|
|
[
|
|
{:balena_device, "~> 0.1.0"}
|
|
]
|
|
end
|
|
```
|
|
|
|
Documentation can be generated with [ExDoc](https://github.com/elixir-lang/ex_doc)
|
|
and published on [HexDocs](https://hexdocs.pm). Once published, the docs can
|
|
be found at [https://hexdocs.pm/balena_device](https://hexdocs.pm/balena_device).
|
|
|