First Retrieve the Rebar Templates and put them in ~/.rebar/templates
[bash] brew install erlang rebar [/bash]
Now that you’re set up, you can create a new multinode app from the templates. Replace myapp with whatever you want to call your new app in the following command:
rebar create template=riak_core_multinode appid=myapp nodeid=myapp
You can now
make and run the code.
If all goes well you should be sitting in a console for your app. Run [erlang] myapp:ping(). [/erlang] to ping a random vnode.