Powered by AppSignal & Oban Pro
Would you like to see your link here? Contact us

Tablex + Formular Server

tablex_on_formular_server.livemd

Tablex + Formular Server

Mix.install([
  {:tablex, "~> 0.3"},
  {:formular_client, "~> 0.4"}
])

Section

Supervisor.start_link(Formular.Client.Supervisor,
  client_name: "demo: tablex + formular",
  url: "wss://formular-server-ose.fly.dev/socket/websocket",
  formulas: [
    {GiraRouteFM, "gira_route_table"}
  ]
)
GiraRouteFM.run(current_node: "HK1", dst: "example.com")

Now change the table on server, and re-run the above code.