They should exist on each node (server-side). You set up the code path using http://wiki.basho.com/Configuration-Files.html#add_paths or -pz in vm.args for each node. Once you do that you (assuming Erlang), you would just compile the file and put the beams in the directory you stated in the path and then start each node and you should be good to go. If using JavaScript, you want to set http://wiki.basho.com/Configuration-Files.html#js_source_dir which should be pretty self-explanatory.
--Andrew On Tue, Jun 28, 2011 at 10:38 AM, Charles Daniel <cdan...@omniti.com> wrote: > I can't figure out how post-hooks are to be setup in Riak. I was wondering if > I could get an example of where to set it up (is it via the client or is it > on Riak's server side?). I've read this in the wiki already > http://wiki.basho.com/Pre--and-Post-Commit-Hooks.html#Post-Commit-Hooks > but it doesn't exactly go into much detail of how/where to set it up. > > Thanks in advance > -Chuck > _______________________________________________ > riak-users mailing list > riak-users@lists.basho.com > http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com > _______________________________________________ riak-users mailing list riak-users@lists.basho.com http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com