<commit_before>Plow
====

Plow is a simple render farm.

Requirements
============

Server
------

* Postgresql 9.2

http://www.postgresql.org

* Java7

http://www.java.com/en/download/index.jsp

Client and Tools
----------------

* Python 2.6 or 2.7 (sorry, talk to Autodesk)
* Qt 4.7+
* Thrift 0.9

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

The plow server acts as the central brain for your render farm.  It contains the plow
dispatcher and exposes a thrift API for interacting with jobs.

This assumes your downloading the latest binary release from:
https://github.com/sqlboy/plow/downloads

Setting up Postgres
-------------------

Install Postgresql 9.2.

Create a databse for plow, doesn't matter what its called.

Execute the sql file:

    $ psql -h <hostname> -U <username> -d <dbname> -f ddl/plow-schema.sql
    $ psql -h <hostname> -U <username> -d <dbname> -f ddl/plow-triggers.sql
    $ psql -h <hostname> -U <username> -d <dbname> -f ddl/plow-functions.sql
    $ psql -h <hostname> -U <username> -d <dbname> -f ddl/plow-data.sql


Starting the Server
-------------------

    > tar -zxvf plow-server-bin-0.1-alpha.tar.gz
    > cd plow-server-bin-0.1-alpha
    > ./plow.sh

    If Java7 is not in your path, plow will pick it up if the JAVA_HOME env var is set.  On Mac, this will
    be something like this:

    > export JAVA_HOME="/Library/Java/JavaVirtualMachines/jdk1.7.0_10.jdk/Contents/Home"
    > ./plow.sh


Generating the Thrift Bindings<commit_msg>- Updated plow database info in README.md<commit_after>Plow
====

Plow is a simple render farm.

Requirements
============

Server
------

* Postgresql 9.2

http://www.postgresql.org

* Java7

http://www.java.com/en/download/index.jsp

Client and Tools
----------------

* Python 2.6 or 2.7 (sorry, talk to Autodesk)
* Qt 4.7+
* Thrift 0.9

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

The plow server acts as the central brain for your render farm.  It contains the plow
dispatcher and exposes a thrift API for interacting with jobs.

This assumes your downloading the latest binary release from:
https://github.com/sqlboy/plow/downloads

Setting up Postgres
-------------------

Install Postgresql 9.2.

Create a database called 'plow' for user 'plow'.
set password: <PASSWORD>
(This is configurable in the plow-server-bin/resources/plow.properties )

Execute the sql file:

    $ psql -h <hostname> -U <username> -d <dbname> -f ddl/plow-schema.sql
    $ psql -h <hostname> -U <username> -d <dbname> -f ddl/plow-triggers.sql
    $ psql -h <hostname> -U <username> -d <dbname> -f ddl/plow-functions.sql
    $ psql -h <hostname> -U <username> -d <dbname> -f ddl/plow-data.sql


Starting the Server
-------------------

    > tar -zxvf plow-server-bin-0.1-alpha.tar.gz
    > cd plow-server-bin-0.1-alpha
    > ./plow.sh

    If Java7 is not in your path, plow will pick it up if the JAVA_HOME env var is set.  On Mac, this will
    be something like this:

    > export JAVA_HOME="/Library/Java/JavaVirtualMachines/jdk1.7.0_10.jdk/Contents/Home"
    > ./plow.sh


Generating the Thrift Bindings
{'fraction_non_alphanumeric': 0.16156351791530946, 'fraction_numerical': 0.01498371335504886, 'mean_word_length': 2.7089371980676327, 'pattern_counts': {'":': 0, '<': 28, '<?xml version=': 0, '>': 38, 'https://': 2, 'lorem ipsum': 0, 'www.': 4, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 6, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4380739', 'n_tokens_mistral': 1102, 'n_tokens_neox': 1063, 'n_words': 346}