See a full description of this project here
This app uses ex_slp for node discovery and clustering.
There's an ubuntu package for slpd
and slp-tool
, and there's also a docker image that has both. To install and verify installation for debian based systems use something like what you see below.
:::bash
$ sudo apt-get install slpd slp-tool
$ sudo /etc/init.d/slpd restart
$ slptool --version
You'll want to install the command line tool regardless, but it's possible to use the daemon via docker:
:::bash
# Run slpd via docker and background it
$ docker run -d -p 427:427/tcp -p 427:427/udp --name openslp vcrhonek/openslp
Clone this repository and enter source root
$ git clone [email protected]:mattvonrocketstein/ambientcalculus.git ambient-calculus
$ cd ambient-calculus
Install Elixir project dependencies
$ mix deps.get
$ mix compile
$ mix test --cover
$ mix escript.build
$ ./ambientcalculus [args]
$ mix dogma
The first time you have to build the persistent lookup table, which takes a while.
$ mix dialyzer.plt
Thereafter, just run
$ mix dialyzer
$ cd ambient-calculus
$ sudo pip install pre-commit
$ pre-commit install