Skip to content

Integrates Livebook with an external Elixir app node to create interactive notebooks that utilize structs, schemas, and databases, enabling automated workflows and real-time documentation.

License

Notifications You must be signed in to change notification settings

ricardopadua/livebook_plug

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Livebook Plug


logo

The elixir ecosystem for documentation is pretty good (ex_doc), but often you want to see the pipeline or data workflows of your application happening while you execute or create documentation for a real use case for your app, with this in mind, I use in this project the livebook for automate code and data workflows with interactive notebooks but with little bit difference in your approach default, here i connect the node of livebook container in other node of elixir application with this, I can execute and build my livebooks with struct, schemas, database of an external application.

Getting started

Inside an script:

  export $(cat .env | grep -v '#' | sed 's/\r$//' | awk '/=/ {print $1}')
  docker compose run broker mix deps.get
  docker compose run broker mix ecto.create
  docker compose run broker mix ecto.migrate
  docker exec -it broker iex --name broker@broker --cookie leruaite_secret -S mix

or

docker compose run broker mix deps.get docker compose run broker mix ecto.create && docker compose run broker mix ecto.migrate && docker compose up --build -d && docker exec -it broker iex --name broker@broker --cookie leruaite_secret -S mix

This idea can be more explained in this livebook.

Peek 2023-10-25 15-42

Still don't know livebook ? read about here.
Still don't know exdoc ? read about here.

About

Integrates Livebook with an external Elixir app node to create interactive notebooks that utilize structs, schemas, and databases, enabling automated workflows and real-time documentation.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published