For running the first node just execute below command:
sbt run
The app will be started in default HTTP (9000) and Akka (2551) ports.
For running a second, or consecutive nodes, override default HTTP and Akka ports doing as follows:
sbt "run 9001" -Dakka.port=2552
Make sure below option is on, the region matches and configured Akka port is open.
List all nodes in the cluster:
GET /cluster/nodes
Singleton counter among all nodes in the cluster:
POST /cluster/singleton/count