Skip to content

Instantly share code, notes, and snippets.

@bigfleet
Created January 30, 2010 19:58
Show Gist options
  • Save bigfleet/290696 to your computer and use it in GitHub Desktop.
Save bigfleet/290696 to your computer and use it in GitHub Desktop.
Installs riak and an example Ruby client. Open jiak.rb for more details.
#!/bin/bash
# On OS X? Installed homebrew already? Interested in Riak? Get familiar!
# This command in your terminal should be a one-stop shop.
# curl http://gist.github.com/raw/290696/e8159440a9a48ac7dfe9d98bfbdac955fda79208/ruby-riak | sh
brew install erlang wget
wget http://bitbucket.org/basho/riak/get/riak-0.8.tar.gz && tar zxvf riak-0.8.tar.gz
cd riak && make all rel
cd rel/riak && bin/riak start
wget http://bitbucket.org/basho/riak/raw/67c55dfd44f5/client_lib/jiak.rb
ruby jiak.rb
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment