<commit_before>Plow
====

Plow is a simple render farm.

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

Server
------

* Postgresql 9.2
* Java7

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

* Python 2.6 or 2.7 (sorry, talk to Autodesk)
* Qt 4.7+
* PySide 1.x
* Thrift 0.8 (going to 0.9 soon)


Running the Server
==================

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> server/ddl/plow.sql


Compiling the Server
--------------------

You'll need Apache Maven to compile the Plow server, and a webapp container like Apache Tomcat to run it.  This
will most likely chanage to a runnable jar with embedded Jetty server in the future.

    > cd server
    > mvn install
    > cp target/plow.war $TOMCAT_HOME/webapps
    > cp config/plow.properties $TOMCAT_HOME/lib

Now open $TOMCAT_HOME/lib/plow.properties and update the file with your postgres server info.
<commit_msg>Moved intro text in readme.<commit_after>Plow
====

Plow is a simple render farm.

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

Server
------

* Postgresql 9.2
* Java7

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

* Python 2.6 or 2.7 (sorry, talk to Autodesk)
* Qt 4.7+
* PySide 1.x
* Thrift 0.8 (going to 0.9 soon)


Running the Server
==================

You'll need Apache Maven to compile the Plow server, and a webapp container like Apache Tomcat to run it.  This
will most likely chanage to a runnable jar with embedded Jetty server in the future.

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> server/ddl/plow.sql


Compiling the Server
--------------------

    > cd server
    > mvn install
    > cp target/plow.war $TOMCAT_HOME/webapps
    > cp config/plow.properties $TOMCAT_HOME/lib

Now open $TOMCAT_HOME/lib/plow.properties and update the file with your postgres server info.

{'fraction_non_alphanumeric': 0.1559679037111334, 'fraction_numerical': 0.0160481444332999, 'mean_word_length': 2.680811808118081, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 17, 'https://': 0, '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': '5743928', 'n_tokens_mistral': 667, 'n_tokens_neox': 634, 'n_words': 248}