<commit_before><p align="right">
    <img src="http://www.basho.com/images/riaklogo.png">
</p>
# Riak Protocol Buffers Client Introduction

This document assumes that you have already started your Riak cluster.
For instructions on that prerequisite, refer to
[Installation and Setup](https://wiki.basho.com/display/RIAK/Installation+and+Setup)
in the [Riak Wiki](https://wiki.basho.com/display/RIAK/Riak).

Dependencies
=========

To build the riak-erlang-client you will need Erlang OTP R13B04 or later, and Git.


Installing
=========

        $ git clone git://github.com/basho/riak-erlang-client.git
        $ cd riak-erlang-client
        $ make


Connecting
=======

To talk to riak, all you need is an Erlang node with the riak-erlang-client library (riakc) in its code path.

        $ erl -pa $PATH_TO_RIAKC/ebin $PATH_TO_RIAKC/deps/*/ebin


You'll know you've done this correctly if you can execute the following commands and get a path to a beam file, instead of the atom 'non_existing':

       1> code:which(riakc_pb_socket).
       ".../riak-erlang-client/ebin/riakc_pb_socket.beam"

<commit_msg>updated links to wiki<commit_after><p align="right">
    <img src="http://www.basho.com/images/riaklogo.png">
</p>
# Riak Protocol Buffers Client Introduction

This document assumes that you have already started your Riak cluster.
For instructions on that prerequisite, refer to
[Installation and Setup](https://wiki.basho.com/Installation-and-Setup.html)
in the [Riak Wiki](https://wiki.basho.com).

Dependencies
=========

To build the riak-erlang-client you will need Erlang OTP R13B04 or later, and Git.


Installing
=========

        $ git clone git://github.com/basho/riak-erlang-client.git
        $ cd riak-erlang-client
        $ make


Connecting
=======

To talk to riak, all you need is an Erlang node with the riak-erlang-client library (riakc) in its code path.

        $ erl -pa $PATH_TO_RIAKC/ebin $PATH_TO_RIAKC/deps/*/ebin


You'll know you've done this correctly if you can execute the following commands and get a path to a beam file, instead of the atom 'non_existing':

       1> code:which(riakc_pb_socket).
       ".../riak-erlang-client/ebin/riakc_pb_socket.beam"


{'fraction_non_alphanumeric': 0.11989100817438691, 'fraction_numerical': 0.004541326067211626, 'mean_word_length': 3.6087866108786613, 'pattern_counts': {'":': 0, '<': 9, '<?xml version=': 0, '>': 11, 'https://': 4, 'lorem ipsum': 0, 'www.': 2, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '998559', 'n_tokens_mistral': 769, 'n_tokens_neox': 708, 'n_words': 225}