IEx
Index
Running multiple IEX's in the same Image/Environments
It is sometimes useful to have multiple terminals/IEX's in the same running system, or perhaps to connect to a running deploy Anoma Instance. We can connect to other IEX instances in this way:
MIX_ENV=test iex --sname b@localhost --cookie anoma -S mix
# open a new terminal
MIX_ENV=test iex --remsh b@localhost --sname c@localhost --cookie anoma -S mix
This also allows you to connect from livebook
by using the above cookie anoma
under the runtime
config of
livebook.