logo
Interact with the IEx console or execute ad-hoc scripts.

Configuration

To proxy the iex -S mix command, execute the following command within your root application path.
shell
hoop run --name iexc-demo --command 'iex -S mix'
To proxy ad-hoc executions add the command iex -S mix - .
shell
hoop run --name iexc-demo --command 'iex -S mix -'

How to Use

Users can now connect and perform ad-hoc executions.
shell
hoop connect iexc-demo
it will proxy the iex -S mix command
shell
hoop exec iexc-demo -i 'puts "Hello World"'
it will run the command puts "Hello World" as an ad-hoc execution.