This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Mix.install([ | |
{:duckdbex, "~> 0.3.14"}, | |
{:nimble_csv, "~> 1.3.0"} | |
]) | |
{:ok, db} = Duckdbex.open() | |
{:ok, conn} = Duckdbex.connection(db) | |
{:ok, _ref} = Duckdbex.query(conn, "INSTALL 'parquet';") | |
{:ok, _ref} = Duckdbex.query(conn, "LOAD 'parquet';") |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Mix.install([{:iris_ex, git: "https://github.com/AlphaDoStar/IrisEx.git", tag: "v0.3.3"}]) | |
defmodule Monitor.Application do | |
use IrisEx.Application, | |
bots: [Monitor.Bot], | |
ws_url: "ws://#{System.get_env("IP")}:3000/ws", | |
http_url: "http://#{System.get_env("IP")}:3000", | |
children: [Monitor.Agent] | |
end |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Mix.install([{:iris_ex, git: "https://github.com/AlphaDoStar/IrisEx.git", tag: "v0.3.3"}]) | |
defmodule NEWMEM.Application do | |
use IrisEx.Application, | |
bots: [NEWMEM.Bot], | |
ws_url: "ws://redroid:3000/ws", # Websocket Address | |
http_url: "http://redroid:3000" # HTTP Address | |
end | |
defmodule NEWMEM.Bot do |