livebook

Has anyone ever created some Ash resources and tried to use (ie create and interact with) them in a LiveBook without publishing code to Hex or a private repository? I'm in the middle of trying. The concept: use Livebook instead of iex. I know, crazy.
Solution:
The problem with the excellent educational livebook for my case is that I'm not learning Ash -- I want something better than IEx to interact with my code (which depends on Ash and a ton of other functionality), like a library. I am not just asking the universe for a solution. I have a solution for my app, and it's pretty bad. I will document this and I'm closing this issue. Anyone who stumbles on this post should be aware that they should not attempt.
Jump to solution
9 Replies
ZachDaniel
ZachDaniel2w ago
We have an educational livebook Maybe that' has some inspiration
ZachDaniel
ZachDaniel2w ago
Ash HQ
Ash Framework
Model your domain, derive the rest.
ken-kost
ken-kost2w ago
what's this archived stuff? 🧐
Solution
Terris
Terris2w ago
The problem with the excellent educational livebook for my case is that I'm not learning Ash -- I want something better than IEx to interact with my code (which depends on Ash and a ton of other functionality), like a library. I am not just asking the universe for a solution. I have a solution for my app, and it's pretty bad. I will document this and I'm closing this issue. Anyone who stumbles on this post should be aware that they should not attempt.
ZachDaniel
ZachDaniel2w ago
I see what you mean now. You can do this but you have to basically connect to your running application IIRC. Its not so much an Ash question but a livebook question, and I'm not sure how to set it up but its 100% doable 🙂
Terris
TerrisOP2w ago
Livebook wants to be a stand-alone thing. I'm mixing apples and oranges. It's understandable. Sorry to have burned any of your time on this.
ZachDaniel
ZachDaniel2w ago
not at all, you can definitely do what you're describing I've even done it before and it was really cool
ZachDaniel
ZachDaniel2w ago
Elixir Programming Language Forum
How to load my local project modules in livebook?
And use it like we do during iex -S mix run --no-start command for that local project, while using live book. I am running live book locally, How to achieve this?
ZachDaniel
ZachDaniel2w ago
here is an example

Did you find this page helpful?