Skip to content

Latest commit

 

History

History
39 lines (31 loc) · 830 Bytes

README.md

File metadata and controls

39 lines (31 loc) · 830 Bytes

NervesCog

Launch Cog inside a running weston instance.

This project works very well with nerves_weston but should work equally well with a different wayland compositor.

NOTE: The current implementation assumes you are wanting to run cog using a wayland compositor. Although cog allows swapping backends that functionality is not exposed today.

Usage

{NervesCog,
 url: "http://localhost:4000",
 xdg_runtime_dir: "/tmp/nerves_weston",
 wayland_display: "wayland-1",
 cli_args: [
   # see cog --help-all for available options
 ],
 daemon_opts: [
   # options passed to MuonTrap.Daemon
 ],
 name: :cog}

Installation

Include nerves_cog in your dependencies referencing github:

def deps do
  [
    {:nerves_cog, github: "coop/nerves_cog"}
  ]
end