init: inital commit

This commit is contained in:
2026-04-16 15:46:00 +02:00
commit 34ddbe669e
40 changed files with 1556 additions and 0 deletions
+19
View File
@@ -0,0 +1,19 @@
defmodule Localiser.Application do
use Application
@impl true
def start(_type, _args) do
children = [
Localiser.Repo,
{Registry, keys: :unique, name: Localiser.Registry},
{Phoenix.PubSub, name: Localiser.PubSub},
Localiser.MQTT.Supervisor,
Localiser.RSSI.Buffer,
Localiser.Localisation.Filter.Supervisor,
Localiser.Localisation.Floor.Supervisor
]
opts = [strategy: :one_for_one, name: Localiser.Supervisor]
Supervisor.start_link(children, opts)
end
end