Pyrlang demo for bridging between python and elixir
- install erlang OTP 21 and elixir 1.9 or 1.10
- install python 3.7
- install pyrlang :
- git clone https://github.com/rizki96/bridge_demo.git
- open two terminal
- cd bridge_demo # on two terminal go to the project's directory
- terminal1 run: > iex --name [email protected] --cookie COOKIE -S mix run --no-halt
- terminal2 run: > python lib/pyrlang/test.py
- from iex console (terminal1) try run :
- iex> alias Bridge.PyProxy
- iex> PyProxy.hello()