Commits

justin  committed ddcd0d5

fix client_connect in README

  • Participants
  • Parent commits 4417bd9

Comments (0)

Files changed (1)

 Assuming no errors were generated during the server start step, a
 simple client interaction will look like:
 
-$ erl -name riaktest@127.0.0.1 -pa $RIAK/ebin
+$ erl -name riaktest@127.0.0.1 -pa $RIAK/ebin -setcookie riak_demo_cookie
 
 (riaktest@127.0.0.1)1> %% connect to Riak
-(riaktest@127.0.0.1)1> {ok, C} = riak:client_connect("127.0.0.1", 9000, riak_demo_cookie).
+(riaktest@127.0.0.1)1> {ok, C} = riak:client_connect('riakdemo@127.0.0.1').
 {ok,{riak_client,'riakdemo@127.0.0.1',
                  "20090722191020-riaktest@127.0.0.1-riakdemo@127.0.0.1-266664"}}