<commit_before>Overview
========

This is the oc-pushy-pedant repository; it is built on top of the chef-pedant repositories (core for OSC and OPC) to leverage the default accounts and so forth set up there.

Building
========

This repository currently requires a .deb build from the pushy branch of opscode-omnibus; it also requires that zeromq (version 2, not 3) be built before it's loaded.  This should only be a temporary requirement until the zeromq lib is added to opscode-omnibus.

1. Using the pushy .deb, build the OPC dev VM with 'rake start'.

2. Grab the v2 POSIX tarball from:

	http://www.zeromq.org/intro:get-the-software

3. Build zeromq.  Building it easy (after scp'ing it to the /tmp dir or wherever is convenient on the dev-vm):

	tar xvzf zeromq-<whatever-the-current-version-is>.tar.gz

	cd <unpacked dir>

	./configure

	make

	make install

4. Load pushy server

	rake project:load[pushy]

5. Load pushy pedant

	rake project:load[oc-pushy-pedant]

6. Run tests (in /srv/piab/mounts/oc-pushy-pedant):

	./oc-pushy-pedant -c mulitenant_config.rb
<commit_msg>READMEs, how do we mark them<commit_after>Overview
========

This is the oc-pushy-pedant repository; it is built on top of the chef-pedant repositories (core for OSC and OPC) to leverage the default accounts and so forth set up there.

Building
========

This repository currently requires a .deb build from the pushy branch of opscode-omnibus; it also requires that zeromq (version 2, not 3) be built before it's loaded.  This should only be a temporary requirement until the zeromq lib is added to opscode-omnibus.

1. Using the pushy .deb, build the OPC dev VM with 'rake start'.

2. Grab the v2 POSIX tarball from:

        http://www.zeromq.org/intro:get-the-software

3. Build zeromq.  Building it easy (after scp'ing it to the /tmp dir or wherever is convenient on the dev-vm):

        $ tar xvzf zeromq-<whatever-the-current-version-is>.tar.gz
        $ cd <unpacked dir>
        $ ./configure
        $ make
        $ make install

4. Load pushy server

        rake project:load[pushy]

5. Load pushy pedant

        rake project:load[oc-pushy-pedant]

6. Run tests (in /srv/piab/mounts/oc-pushy-pedant):

        ./oc-pushy-pedant -c mulitenant_config.rb

{'fraction_non_alphanumeric': 0.09155555555555556, 'fraction_numerical': 0.008, 'mean_word_length': 3.3122605363984676, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 7, 'https://': 0, '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': '6242234', 'n_tokens_mistral': 774, 'n_tokens_neox': 737, 'n_words': 295}