dimitarvp

dimitarvp

How to run Erlog inside IEX

In case anyone is interested:

  • Add erlog to your mix.exs file, in the application/0 public function. Example:
  def application do
    [applications: [:logger, :erlog]]
  end
  • Add erlog to your mix.exs file, in the deps/0 private function. Example:
  defp deps do
    [
      {:erlog, github: "rvirding/erlog"}
    ]
  • Command line: run mix deps.get
  • Command line: run mix deps.compile
  • Command line: run iex -S mix
  • You should be able to invoke :erlog, :erlog_server, :erlog_shell etc. functions from inside the IEx shell (there are 16 modules actually)

@AstonJ Not sure if that’s worthy of a Wiki, you decide.

@rvirding / @josevalim For your reference. Looks like if the Erlang project is “done right” (example for “not done right” here: http://stackoverflow.com/questions/32662329/using-erlang-library-with-elixir), it’s a pretty straightforward process.

First Post! Switch mode

dogweather

dogweather

Thanks for the great follow-up. I’m going to try this in a Phoenix app.

— All posts loaded —

Where Next?

Trending in Guides/Tuts Top

Other Trending Topics Top

JesseHerrick
Hey, I’m Jesse and I’m the main contributor behind Dexter, a full-featured, lightning-fast Elixir LSP optimized for large codebases. It s...
New
jimsynz
Beam Bots (or just BB for short) is a framework for building fault-tolerant robotics applications in Elixir using familiar OTP patterns. ...
New
Damirados
Hello everyone. After busy few months I am happy to announce v0.1.0 of Emerge & Solve. They are GUI (Emerge) and State management (S...
New
ausimian
Emily is an Elixir library that runs Nx computations on Apple’s MLX. Install it as the default Nx backend and Nx, defn, Axon, Nx.Serving,...
New
type1fool
I just stumbled on a newly redesigned elixir-lang.org. :tada: It looks like @Software_Mansion did the work, and I think it is generally a...
New
akoutmos
@hugobarauna and I (Alex Koutmos) have been hard at work on writing a book on Nerves that takes you from simply blinking LEDs to building...
New

We're in Beta

About us Mission Statement