I usually have an easier time running my app first via iex -S mix
with a short name and cookie. After that you can configure Livebook to connect to your newly spawned iex
process/node, as described in this blog post:
Here’s a similar thread on it as well:
Once that’s set up, all of your application code (including your use myApp.DataCase
) should be mostly usable from Livebook.