IEx

Index

  1. Toc
  2. Contributing
    1. Understanding Any Module
    2. Style Guide
    3. Writing Documents
    4. Examples Over Testing
    5. Git
    6. Iex
    7. Mnesia Vs Actor State
    8. Observer
    9. Testing
      1. Running Tests
      2. Writing Tests
  3. Visualization
    1. Actors
  4. Hoon
    1. Calling
    2. Dumping
    3. Setting Up
  5. Analysis

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.