Skip to content

Instantly share code, notes, and snippets.

@yurrriq
Created April 20, 2015 02:14
Show Gist options
  • Select an option

  • Save yurrriq/f79d8bd69b95a5855f18 to your computer and use it in GitHub Desktop.

Select an option

Save yurrriq/f79d8bd69b95a5855f18 to your computer and use it in GitHub Desktop.
Riak Quickstart Commands translated to Fish
#!/usr/local/bin/fish
# Riak Quickstart: http://docs.basho.com/riak/latest/quickstart/
# Start all the nodes!
for node in dev*; eval $node/bin/riak start; end
# Ping all the nodes!
for node in dev*; eval $node/bin/riak ping; end
# Join the other three nodes!
for n in (seq 3 5); eval dev$n/bin/riak-admin cluster join dev1@127.0.0.1; end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment