<commit_before>[![Build Status](https://secure.travis-ci.org/treeio/treeio.png?branch=master)](http://travis-ci.org/treeio/treeio)

==========================
Tree.io Business Management Platform
==========================

Tree.io is a powerful business management platform with tons of great features including integrated Project Management, Help Desk (support ticketing) and CRM modules. For a full list of features please see http://www.tree.io

For FAQ see the Tree.io community site http://www.tree.io/community/


License
=======

Tree.io is licensed under the Creative Commons Attribution-NonCommercial 3.0 License.

If you wish to re-sell or charge for install you must contact us for a Reseller License. 

For more details see LICENSE.

Tree.io cannot accept any responsibility for damage or losses caused by use of this software. Use at your own risk!


Installation on Ubuntu or Debian with MySQL
================================

Although you can install on most any UNIX system very easily, debian based distros are easier due to their package management.

You can also install on Max OSX or with other databases aside from MySQL very easily.


Install any dependencies
------------------------

1.  Update your local cache `sudo apt-get update`
1.  Upgrade your system `sudo apt-get upgrade` (Recommended but optional)
1.  `sudo apt-get install python build-essential python-dev`
1.  `sudo apt-get build-dep python-lxml python-imaging`
1.  `sudo apt-get install git python-flup python-pip`


Install services (In Production)
------------------------

1.  Install database `sudo apt-get install mysql-server` (Aside from MySQL you can also use Postgre, SQLite or OracleDB)
1.  Install web server `sudo apt-get install nginx` 

Alternatively you can use Apache, see this [community post](http://tree.io/en/community/questions/186/treeio-with-wsgi-for-apache-deploy) for an example configuration.

Create a fork and clone this repository
------------------------

1.  Clone the repo by running: `git clone https://github.com/treeio/treeio.git`
1.  Install dependencies: `pip install -r requirements.pip`
1.  Run the patch: 

    DJANGO&#95;DIR=&#96;python -c "import django; import os; print os.path.dirname(django.&#95;&#95;file&#95;&#95;)"&#96;
    
    python related_fields_patch.py $DJANGO_DIR


Install the database (Example showing MySQL)
------------------------

    $ mysql -u username -p
           > create database database_name;
           > grant all privileges on database_name.* to some_user@localhost identified by 'some_password';
           > \q
<commit_msg>Update master<commit_after>[![Build Status](https://secure.travis-ci.org/treeio/treeio.png?branch=master)](http://travis-ci.org/treeio/treeio)

==========================
Tree.io Business Management Platform
==========================

Tree.io is a powerful business management platform with tons of great features including integrated Project Management, Help Desk (support ticketing) and CRM modules. For a full list of features please see http://www.tree.io

For FAQ see the Tree.io community site http://www.tree.io/community/


License
=======

Tree.io is licensed under the Creative Commons Attribution-NonCommercial 3.0 License.

If you wish to re-sell or charge for install you must contact us for a Reseller License. 

For more details see LICENSE.

Tree.io cannot accept any responsibility for damage or losses caused by use of this software. Use at your own risk!


Installation on Ubuntu or Debian with MySQL
================================

Although you can install on most any UNIX system very easily, debian based distros are easier due to their package management.

You can also install on Max OSX or with other databases aside from MySQL very easily.


Install any dependencies
------------------------

1.  Update your local cache `sudo apt-get update`
1.  Upgrade your system `sudo apt-get upgrade` (Recommended but optional)
1.  `sudo apt-get install python build-essential python-dev`
1.  `sudo apt-get build-dep python-lxml python-imaging`
1.  `sudo apt-get install git python-flup python-pip`


Install services (In Production)
------------------------

1.  Install database `sudo apt-get install mysql-server` (Aside from MySQL you can also use Postgre, SQLite or OracleDB)
1.  Install web server `sudo apt-get install nginx` 

Alternatively you can use Apache, see this [community post](http://tree.io/en/community/questions/186/treeio-with-wsgi-for-apache-deploy) for an example configuration.

Create a fork and clone this repository
------------------------

1.  Clone the repo by running: `git clone https://github.com/treeio/treeio.git`
1.  Install dependencies: `pip install -r requirements.pip`
1.  Run the patch: `python related_fields_patch.py`


Install the database (Example showing MySQL)
------------------------

    $ mysql -u username -p
           > create database database_name;
           > grant all privileges on database_name.* to some_user@localhost identified by '<PASSWORD>_password';
           > \q

{'fraction_non_alphanumeric': 0.1453499900852667, 'fraction_numerical': 0.008724965298433472, 'mean_word_length': 3.4401408450704225, 'pattern_counts': {'":': 0, '<': 4, '<?xml version=': 0, '>': 10, 'https://': 4, 'lorem ipsum': 0, 'www.': 4, 'xml': 2}, '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': '2432534', 'n_tokens_mistral': 1419, 'n_tokens_neox': 1296, 'n_words': 572}