dimitarvp
How to run Erlog inside IEX
In case anyone is interested:
- Add
erlogto yourmix.exsfile, in theapplication/0public function. Example:
def application do
[applications: [:logger, :erlog]]
end
- Add
erlogto yourmix.exsfile, in thedeps/0private 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_shelletc. 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: Using Erlang library with Elixir - Stack Overflow), it’s a pretty straightforward process.
Most Liked
dogweather
Thanks for the great follow-up. I’m going to try this in a Phoenix app.
1
Popular in Guides/Tuts
Wrote this guide on how to integrate DropzoneJS with Phoenix Liveview. Hope it helps someone out!
https://sergiotapia.com/dropzonejs-dir...
New
So my main OS is Windows, I do must of my work with it, Elixir and vscode elixirls works just fine when you’re working only with elixir, ...
New
I spent quite a bit of time trying to find a good configuration to build / test my Elixir app in CircleCI and then push an image to Docke...
New
Hi folks,
Just a short instruction. Maybe it will help somebody.
https://v4-alpha.getbootstrap.com/getting-started
Install boostrap...
New
Hello!
Having written a lot of LiveView code, I’ve made some VS Code snippets to speed up writing callbacks for LiveViews and LiveCompon...
New
One of our team members just published this getting started guide for Elixir/Phoenix devs to use the Nanobox platform: https://content.n...
New
I’m excited about the new LiveComponents feature in LiveView, but I haven’t seen much written on it, so I decided to write a couple of ar...
New
I write an article Parameterized testing with ExUnit.The key concept is using ExUnit.Case.register_test/4 such as
ExUnit.start()
defmod...
New
The post covering how to generate nifty types to use in @spec in compile time with macros.
https://rocket-science.ru/hacking/2020/07/15/...
New
Hey :wave:t3: Elixir community,
I’ve been learning Elixir, and working on some side projects. My editor of choice is VSCode, and althoug...
New
Other popular topics
can someone please explain to me how Enum.reduce works with maps
New
Hi there,
I am working with Ecto-Postgresql and I need to call all of the records from a specific table but the table has 40,000 record...
New
I couldn’t find any guides that worked well with Phoenix 1.6.0 and esbuild. I hope this helps people test the waters and eases you into t...
New
Hi folks,
Few months ago I have announced the proof-of-concept of the library to manipulate the browsers DOM objects directly from Elixi...
New
Elixir plugin for JetBrain’s IntelliJ Platform (including Rubymine)
This is a plugin that adds support for Elixir to JetBrains IntelliJ...
New
I am trying to figure out how Mix knows whether the environment is test, dev, or prod -- where is this set?
Thanks.
New
I would like to know what is the best IDE for elixir development?
New
Hello, can anybody help here..? I have a list of players and I what to delete an element, but every for loop the list is reverting to ori...
New
I am using Ecto timestamps with postgres, I can see the timestamps() use the :naive_dateime but for my use case I wanted to store the ti...
New
I am constructing a JSON object (map) and I need to conditionally set a field. I’m trying to write proper elixir-way code… and I’m at a l...
New







