AltworxBook

AltworxBook provides function to interact with Altworx from LiveBook notebooks.

Currently supported functionality is described in AltworxBook module documentation.

using-in-livebook-notebooks

Using in LiveBook notebooks

To use functionality of this library in your notebook, you need to include it in your dependecies with runbox configuration.

Mix.install(
  [
    {:altworx_book, "~> 0.2.0"}
  ],
  config: [runbox: [scenario_config_dir: nil]]
)

existing-notebooks

Existing notebooks

There are currently these notebooks available:

running-in-local-dev-environment

Running in local dev environment

To run these notebooks start Altworx in developer mode via make in the Altworx repository. This LiveBook should be in the same network. That is, if run from docker, it should be started with the parameter -net host and environment variable ALTWORX_BOOK_ENV set to dev. You can start LiveBook from this repository by calling make.

To use your current version of AltworxBook, you can use this configuration in your notebooks.

Mix.install(
  [
    {:altworx_book, path: "."}
  ],
  config: [runbox: [scenario_config_dir: nil]]
)