<commit_before>.. _installation:

Installing the Token Server
---------------------------
<commit_msg>starting to add instructions to run a token server<commit_after>.. _installation:

Installing the Token Server
===========================

The basic instructions to install the Token Server is to run `make build`::


    $ git clone https://github.com/mozilla-services/tokenserver
    $ cd tokenserver
    $ make build

This set of instruction should work out of the box under RHEL6.

Once this is done, you can run the server with Paster::

    $ bin/paster serve etc/tokenserver-dev.ini


Specific instructions on other platforms
----------------------------------------

XXX

{'fraction_non_alphanumeric': 0.1894273127753304, 'fraction_numerical': 0.0014684287812041115, 'mean_word_length': 2.6084656084656084, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 1, 'lorem ipsum': 0, 'www.': 0, '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': '7121889', 'n_tokens_mistral': 173, 'n_tokens_neox': 161, 'n_words': 72}