Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Riak on Windows

Tags:

nosql

erlang

riak

I want to play with Riak http://riak.basho.com/ or a least get it running on a Windows system. I have downloaded the source code and compiled it but that's where I get stuck, how do I start it?

like image 454
Michael Edwards Avatar asked Nov 25 '09 21:11

Michael Edwards


2 Answers

It does run, altough I havent managed to run it as a service yet.

Install CYGwin, install latest erlang, get source code, compile in cygwin

then the fun part, adjust according to your paths and place into a batch

c:\riak\rel\riak\erts-5.7.4\bin\erl -boot c:\riak\rel\riak\releases\0.8\riak -embedded -config c:\riak\rel\riak\etc\app.config -args_file c:\riak\rel\riak\etc\vm.args -- console

Regards

like image 90
Alfredo Aviles Avatar answered Oct 20 '22 04:10

Alfredo Aviles


Looks like the riak source has several bash start scripts. You would have to convert those to a windows batch script equivalent. That could be a fairly interesting chore given how limited batch scripts are. Those start-*.sh files show how to start it up though so I'd start there.

The http://hg.basho.com/riak/src/tip/README Readme file has futher info on what each script does.

like image 37
Jeremy Wall Avatar answered Oct 20 '22 06:10

Jeremy Wall