Powered by AppSignal & Oban Pro
Would you like to see your link here? Contact us

IEx

documentation/contributing/iex.livemd

IEx

Index

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

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.