Skip to content

ohhi-vn/mnesia_phoenix

Repository files navigation

Mnesia real-time distributed database on clustering Elixir nodes

Introduce

This is simple demo for sharing topic "Mnesia real-time distributed database on clustering Elixir nodes"

Guide

To run demo, please follow step.

cd mnesia_phoenix
mix deps.get

To start app:

In case you are binding by other IP please change app config and commands.

  • Terminal 1: PORT=4000 iex --sname a@localhost --cookie abc -S mix phx.server
  • Terminal 2: PORT=4001 iex --sname b@localhost --cookie abc -S mix phx.server

Note: If you use Windows please run set PORT=4001 to set environment variable. Similar for other instance.

About

No description or website provided.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published